mat4

fun mat4(m00: Float = 0.0f, m01: Float = 0.0f, m02: Float = 0.0f, m03: Float = 0.0f, m10: Float = 0.0f, m11: Float = 0.0f, m12: Float = 0.0f, m13: Float = 0.0f, m20: Float = 0.0f, m21: Float = 0.0f, m22: Float = 0.0f, m23: Float = 0.0f, m30: Float = 0.0f, m31: Float = 0.0f, m32: Float = 0.0f, m33: Float = 0.0f): Matrix4

A utility factory function that allows to create Matrix4 instances with named parameters.

Return

a new instance of Matrix4.

Parameters

m00

first row, first column.

m01

first row, second column.

m02

first row, third column.

m03

first row, forth column.

m10

second row, first column.

m11

second row, second column.

m12

second row, third column.

m13

second row, forth column.

m20

third row, first column.

m21

third row, second column.

m22

third row, third column.

m23

third row, forth column.

m30

forth row, first column.

m31

forth row, second column.

m32

forth row, third column.

m33

forth row, forth column.