Companion
object Companion
Functions
Link copied to clipboard
Creates a Matrix4 from a float array.
Link copied to clipboard
fun getRotationMatrix(axis: ERROR CLASS: Symbol not found for Triple<kotlin/Float, kotlin/Float, kotlin/Float>, angle: Float): Matrix4
Generates a rotation matrix given an axis and an angle.
Link copied to clipboard
fun getScaleMatrix(scale: ERROR CLASS: Symbol not found for Triple<kotlin/Float, kotlin/Float, kotlin/Float>): Matrix4
Generates a scaling matrix given a scale vector.
Link copied to clipboard
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.
Link copied to clipboard
fun getTranslationMatrix(position: ERROR CLASS: Symbol not found for Triple<kotlin/Float, kotlin/Float, kotlin/Float>): Matrix4
Generates a translation matrix given a position.