Methods
equals
- equals(mat: Mat4): boolean
-
Parameters
Returns boolean
equalsArray
- equalsArray(data: number[]): boolean
-
Parameters
Returns boolean
get
- get(x: number, y: number): number
-
Parameters
Returns number
scale
- scale(x: number, y: number, z: number): SimpleMat4
-
Parameters
-
x: number
-
y: number
-
z: number
setItem
- setItem(x: number, y: number, value: number): void
-
Parameters
-
x: number
-
y: number
-
value: number
Returns void
translate
- translate(x: number, y: number, z: number): SimpleMat4
-
Parameters
-
x: number
-
y: number
-
z: number
Static from
-
Parameters
-
param: { angle?: number; axes?: number | SimpleVector3; rotX?: number; rotY?: number; rotZ?: number; rotation?: Quaternion; scale?: SimpleVector3 | [number, number, number]; translation?: SimpleVector3 | [number, number, number] }
-
Optional angle?: number
-
-
Optional rotX?: number
-
Optional rotY?: number
-
Optional rotZ?: number
-
-
Optional scale?: SimpleVector3 | [number, number, number]
-
Optional translation?: SimpleVector3 | [number, number, number]
-
Static fromRotationTranslationScale
Static Private setScale
- setScale(x: number, y: number, z: number, result: number[]): number[]
-
Parameters
-
x: number
-
y: number
-
z: number
-
result: number[]
Returns number[]
Static Private setTranslation
- setTranslation(x: number, y: number, z: number, result: number[]): number[]
-
Parameters
-
x: number
-
y: number
-
z: number
-
result: number[]
Returns number[]
Static Private staticSetAngleRotation
-
Parameters
-
sin: number
-
cos: number
-
axe: "X" | "Y" | "Z"
-
https://github.com/mrdoob/three.js/blob/dev/src/math/Matrix4.js https://github.com/BennyQBD/3DEngineCpp/blob/master/src/core/math3d.h https://glmatrix.net/docs/mat4.js.html https://github.com/fynnfluegge/oreon-engine/blob/master/oreonengine/oe-core/src/main/java/org/oreon/core/math/Matrix4f.java
00 04 08 12 01 05 09 13 02 06 10 14 03 07 11 14