Step operator+(const Step &s1, const Step &s2)
base_vec3< decimal > vec3
3D vector Vector defined with 3 float numbers
: Describes a ray by a pair of unsigned int. The first one gives the source number (in the range 0-40...
Step(const vec3 &Pos=vec3(0., 0., 0.), const vec3 &Norme=vec3(0., 0., 0.))
Default constructor.
Step(const Step &other)
Copy constructor.
Step operator*(const Step &s, const decimal &a)
vec3 getDirection() const
Return direction of the ray.
static Step Ray_adapter(Ray &ray)
Return a step build from ray position and direction.
vec3 getPosition() const
Return starting point ray.
Describe a step in the ray path.