lookAt method

Ray lookAt(
  1. Vector3 v
)

Implementation

Ray lookAt(Vector3 v) {
  direction.setFrom(v).sub(origin).normalize();
  return this;
}