Documentation / @ripl/3d / Ray
Interface: Ray ​
Defined in: 3d/src/math/ray.ts:18
A half-line in world space, used for picking and intersection queries.
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
direction | Vector3 | The unit-length direction the ray travels in. | 3d/src/math/ray.ts:22 |
origin | Vector3 | The point the ray starts from. | 3d/src/math/ray.ts:20 |