#include <Ray.h>
Representation of rays. A ray is an infinite line starting at origin and going in some direction.
Public Member Functions | |
Ray (const Vec3 &origin=Vec3(0, 0, 0), const Vec3 &direction=Vec3(0, 0, 0)) | |
const Vec3 & | origin () const |
const Vec3 & | direction () const |
Vec3 | getPoint (double z) const |
void | setOrigin (const Vec3 &origin) |
void | setDirection (const Vec3 &direction) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |