intersectPlane
@zylem/game-lib / debug / intersectPlane
Function: intersectPlane()
intersectPlane(
ray,origin,normal,target):Vector3|null
Defined in: packages/game-lib/src/lib/debug/transform-gizmo.ts:152
Intersect a ray with the plane through origin with the given normal.
Returns null for a plane seen too close to edge-on, where the hit point
races away across the plane for very little pointer motion.
Parameters
ray
origin
Vector3
normal
Vector3
target
Vector3
Returns
Vector3 | null