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
- geometry4d/Map4d.ts Line 121
Last Updated: 23 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.