Ray.h
Go to the documentation of this file.
1 /*************************************************************************
2 > File Name: Ray.h
3 > Project Name: CubbyFlow
4 > Author: Chan-Ho Chris Ohk
5 > Purpose: Class for ray.
6 > Created Time: 2017/03/21
7 > Copyright (c) 2018, Chan-Ho Chris Ohk
8 *************************************************************************/
9 #ifndef CUBBYFLOW_RAY_H
10 #define CUBBYFLOW_RAY_H
11 
12 #include <limits>
13 
14 namespace CubbyFlow
15 {
22  template <typename T, size_t N>
23  class Ray
24  {
25  static_assert(N != 2 && N != 3, "Not implemented.");
26  static_assert(std::is_floating_point<T>::value, "Ray only can be instantiated with floating point types");
27  };
28 }
29 
30 #endif
Class for ray.
Definition: Ray.h:23
Definition: pybind11Utils.h:24