Ray
- class Ray()
Object representing a Ray.
Constructors
Constructors
Properties
- Ray.direction
- Type
Point3
- Ray.origin
- Type
Point3
Methods
assign
copy
- Ray.copy()
Creates a copy of this ray
- Returns
a copy of this ray object
- Return type
Ray
negate
- Ray.negate()
Flips the ray’s direction.
- Return type
this