getTransformationMatrix

fun getTransformationMatrix(position: ERROR CLASS: Symbol not found for Triple<kotlin/Float, kotlin/Float, kotlin/Float>, rotationAxis: ERROR CLASS: Symbol not found for Triple<kotlin/Float, kotlin/Float, kotlin/Float>, rotationAngle: Float, scale: ERROR CLASS: Symbol not found for Triple<kotlin/Float, kotlin/Float, kotlin/Float>): Matrix4

Generates a transformation matrix given position, rotation, and scale.

Return

The transformation matrix as a Matrix4.

Parameters

position

The position as a Triple of floats (x, y, z).

rotationAxis

The axis of rotation as a Triple of floats (x, y, z).

rotationAngle

The angle of rotation in radians.

scale

The scale vector as a Triple of floats (sx, sy, sz).