Interface: Mat4
A 4x4 column-major matrix.
Properties
data
readonlydata:number[]
Defined in
src/types/TransformManager.ts:11
scale
readonlyscale:Float3
Defined in
src/types/TransformManager.ts:12
translation
readonlytranslation:Float3
Defined in
src/types/TransformManager.ts:13
Methods
rotate()
rotate(
angleRadians,axis):Mat4
Returns a new matrix that is the result of multiplying the provided rotation matrix with this matrix.
Parameters
• angleRadians: number
• axis: Float3
Returns
Defined in
src/types/TransformManager.ts:28
scaling()
scaling(
scale):Mat4
Returns a new matrix that is the result of multiplying the provided scale matrix with this matrix.
Parameters
• scale: Float3
Returns
Defined in
src/types/TransformManager.ts:18
translate()
translate(
translation):Mat4
Returns a new matrix that is the result of multiplying the provided translation matrix with this matrix.
Parameters
• translation: Float3