lookAt method

Ray lookAt(
  1. Vector3 v
)

Implementation

Ray lookAt(Vector3 v) {
  direction.copy(v).sub(origin).normalize();

  return this;
}