#include <raytracing.hpp>
Public Member Functions | |
Ray (Vector3f origin=Vector3f{0.0f, 0.0f, 0.0f}, Vector3f direction=Vector3f{1.0f, 0.0f, 0.0f}) | |
Constructor. | |
const Vector3f & | origin (void) const |
Return origin point. | |
bool | set_origin (Vector3f origin) |
Update origin point. | |
const Vector3f & | direction (void) const |
Return direction vector. | |
bool | set_direction (Vector3f origin) |
Update direction. |
Ray.