Salta ai contenuti
Seleziona lingua:Italiano
Questa pagina è disponibile solo in inglese.

MCL 1.3.5

object Companion

Functions

Creates a new matrix from a row-major array.

Creates a new identity matrix.

fun rotation(axis: Vec3d, angle: Double): Mat3d
fun rotation(qx: Double, qy: Double, qz: Double, qw: Double): Mat3d

Creates a new rotation matrix.

fun scaling(sx: Double, sy: Double, sz: Double): Mat3d

Creates a new scaling matrix.

fun zero(): Mat3d

Creates a new zero matrix.