Ray.FromTo
static Ray FromTo(Vec3 a, Vec3 b)
A convenience function that creates a ray from point a, towards point b. Resulting direction is not normalized.
| 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. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!