Copy the origin and direction from other into this.
Source
void copyFrom(Ray other) {
_origin.setFrom(other._origin);
_direction.setFrom(other._direction);
}
Copy the origin and direction from other into this.
void copyFrom(Ray other) {
_origin.setFrom(other._origin);
_direction.setFrom(other._direction);
}