25 Ray(ngl::Vec3 _origin, ngl::Vec3 _direction);
33 Ray(ngl::Vec3 _A, ngl::Vec3 _B,
bool _p);
void setDirection(ngl::Vec3 _direction)
Setter method for the direction.
ngl::Vec3 getOrigin()
Getter method for the origin.
ngl::Vec3 m_origin
Ray's origin class member.
~Ray()
Simple destructor. Frees memory.
void setOrigin(ngl::Vec3 _origin)
Setter method for the origin.
ngl::Vec3 m_direction
Ray's direction class member.
Ray(ngl::Vec3 _origin, ngl::Vec3 _direction)
First ray ctor, this takes an origin and a direction and passes them directly to the class members...
ngl::Vec3 getDirection()
Getter method for the direction.