Function Vector3SignedDistanceToPlaneFromPositionAndNormal
-
Vector3SignedDistanceToPlaneFromPositionAndNormal(
origin: DeepImmutable<IVector3Like>,
normal: DeepImmutable<IVector3Like>,
point: DeepImmutable<IVector3Like>,
): numberParameters
- origin: DeepImmutable<IVector3Like>
defines a point on the plane
- normal: DeepImmutable<IVector3Like>
defines the plane normal (assumes normalized)
- point: DeepImmutable<IVector3Like>
defines the point to compute the signed distance to
Returns number
the signed distance
- origin: DeepImmutable<IVector3Like>
Computes the signed distance between the specified point and plane.