Ray.FromTo

static Ray FromTo(Vec3 a, Vec3 b)

   
Vec3 a Ray starting point.
Vec3 b Location the ray is pointing towards.
RETURNS: Ray A ray from point a to point b. Not normalized.

A convenience function that creates a ray from point a, towards point b. Resulting direction is not normalized.