Multiplies 2x2 matrix m
with 2D vector v
. Supports in-place modification, i.e. if out === v
.
Multiplies 2x3 matrix m
with 2D vector v
. Supports in-place modification, i.e. if out === v
.
Multiplies 3x3 matrix m
with 3D vector v
. Supports in-place modification, i.e. if out === v
.
Multiplies 4x4 matrix m
with 4D vector v
. Supports in-place modification, i.e. if out === v
.
Multiplies 4x4 matrix m
with 3D vector v
and assumes initial w=1
, i.e. the vector is interpreted as [x,y,z,1]
. After transformation applies perspective divide of the resulting XYZ components. Returns undefined
if the computed perspective divisor is zero (and would cause NaN
results).
-
-
-
Multiplies quaternion q
with 3D vector v
. Returns transformed vector or modifies in-place if out
is null or v
.
-
-
-
Generated using TypeDoc
Matrix-vector multiplication. Supports in-place modification, i.e. if
out === v
.-
-
-