Skip to content

Documentation / @ripl/3d / mat4TransformPoint

Function: mat4TransformPoint() ​

mat4TransformPoint(m, v): Vector3

Defined in: 3d/src/math/matrix.ts:200

Transforms a 3D point by a 4×4 matrix, performing the perspective divide.

Parameters ​

ParameterType
mMatrix4
vVector3

Returns ​

Vector3