Skip to content

mat4TransformDirection

mat4TransformDirection(m, v): Vec3

Defined in: src/modules/math/mat4.ts:283

Transform the direction v (w = 0) by m: rotation and scale apply, translation does not. The result is not normalised.

Mat4

Vec3

Vec3