#include <ray.h>
◆ Ray() [1/2]
- Parameters
-
The | point at with the Ray begins. |
The | direction of magnitude = 1, will assert if compiled with SANITY_CHECK. |
◆ Ray() [2/2]
- Parameters
-
The | point at with the Ray begins. |
The | direction of magnitude = 1, will assert if compiled with SANITY_CHECK. |
◆ operator Primitive2D::Ray()
Ray::operator Primitive2D::Ray |
( |
| ) |
|
◆ operator()() [1/2]
◆ operator()() [2/2]
◆ operator-() [1/2]
◆ operator-() [2/2]
◆ setDirection()
void Ray::setDirection |
( |
const Vector3f & | direction | ) |
|
- Parameters
-
The | direction of magnitude = 1. |
◆ slope()
float Ray::slope |
( |
| ) |
const |
◆ direction [1/2]
◆ direction [2/2]
◆ origin [1/2]
◆ origin [2/2]
The documentation for this class was generated from the following files:
- src/shape/primitive/2d/ray.h
- src/shape/primitive/3d/ray.h