Skip to content

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 ​

PropertyTypeDescriptionDefined in
directionVector3The unit-length direction the ray travels in.3d/src/math/ray.ts:22
originVector3The point the ray starts from.3d/src/math/ray.ts:20