◆ Ray()
Construct a new Ray object.
This function constructs a new Ray object with the given origin, direction, and time.
- Parameters
-
origin | The origin of the ray. |
direction | The direction of the ray. |
time | The time of the ray. |
- Returns
- A new Ray object.
◆ at()
Get the origin of the ray.
This function returns the origin of the ray.
- Returns
- The origin of the ray.
The documentation for this class was generated from the following files:
- /Users/javii/Code/raytracer/include/core/Ray.hpp
- /Users/javii/Code/raytracer/sources/core/Ray.cpp