Ray.copy constructor
- Ray other
Create a ray as a copy of other
.
Implementation
Ray.copy(Ray other)
: _origin = Vector3.copy(other._origin),
_direction = Vector3.copy(other._direction);
Create a ray as a copy of other
.
Ray.copy(Ray other)
: _origin = Vector3.copy(other._origin),
_direction = Vector3.copy(other._direction);