copyFrom method

Ray copyFrom(
  1. Ray ray
)

Implementation

Ray copyFrom(Ray ray) {
  origin.setFrom(ray.origin);
  direction.setFrom(ray.direction);

  return this;
}