Properties
value
value: Float32Array
Accessors
Static IDENTITY
IDENTITY:
Methods
fromArray
- fromArray(values: Float32Array): MatrixIV
lookAt
-
Parameters
-
-
-
Default value up: Vector = Vector.UP
multiplyBy4x1
- multiplyBy4x1(x: number, y: number, z: number, w?: number): Array<number>
-
Parameters
-
x: number
-
y: number
-
z: number
-
Default value w: number = 1
Returns Array<number>
multiplyByVector
-
Parameters
-
-
Default value w: number = 1
perspective
- perspective(fov: number, aspect: number, near: number, far: number): MatrixIV
-
Parameters
-
fov: number
-
aspect: number
-
near: number
-
far: number
rotateX
- rotateX(angle: number): this
rotateY
- rotateY(angle: number): this
rotateZ
- rotateZ(angle: number): this
scaleXyz
- scaleXyz(x: number, y: number, z: number): MatrixIV
-
Parameters
-
x: number
-
y: number
-
z: number
setVectorColumn
- setVectorColumn(column: number, v: Vector): void
translateXyz
- translateXyz(x: number, y: number, z: number): MatrixIV
-
Parameters
-
x: number
-
y: number
-
z: number
ypr
- ypr(yaw: number, pitch: number, roll: number): this
-
Parameters
-
yaw: number
-
pitch: number
-
roll: number
Returns this
Static fromArray
- fromArray(values: Float32Array): MatrixIV