Properties
Protected Readonly _transformationMatrix
Accessors
transformation
- get transformation(): Mat4
Methods
setEulerRotation
- setEulerRotation(x: number, y: number, z: number): void
-
Parameters
-
x: number
-
y: number
-
z: number
Returns void
setPosition
- setPosition(x: number, y: number, z: number): void
-
Parameters
-
x: number
-
y: number
-
z: number
Returns void
setScale
- setScale(x: number, y: number, z: number): void
-
Parameters
-
x: number
-
y: number
-
z: number
Returns void
Private updateTransformationMatrix
- updateTransformationMatrix(): Mat4
const yaw = () => -atan2f( x,z ) const pitch = () => atan2f( y, sqrtf( xx+zz ) )