createVectorFrustum MethodStatic

Create a world to NPC map that maps between world coordinates and the given frustum.

createVectorFrustum(origin: Point3d, uVector: Vector3d, vVector: Vector3d, wVector: Vector3d, fraction: number): undefined | Map4d

Parameter Type Description
origin Point3d lower left rear of frustum
uVector Vector3d Vector from origin to lower right rear.
vVector Vector3d Vector from origin to upper left rear.
wVector Vector3d Vector from origin to lower left front, i.e. origin towards eye.
fraction number front size divided by rear size.

Returns - undefined | Map4d

Defined in

Last Updated: 17 December, 2024