Ray.Ray
void Ray(Vec3 position, Vec3 direction)
Basic initialization constructor! Just copies the parameters into the fields.
Vec3 position | The position or origin point of the Ray. |
Vec3 direction | The direction the ray is facing, typically does not require being a unit vector, or normalized direction. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!