Documentation / @ripl/3d / mat4TransformDirection
Function: mat4TransformDirection() ​
mat4TransformDirection(
m,v):Vector3
Defined in: 3d/src/math/matrix.ts:191
Transforms a direction vector by the upper-3×3 of a 4×4 matrix, ignoring translation.
Parameters ​
| Parameter | Type |
|---|---|
m | Matrix4 |
v | Vector3 |