openrndr / org.openrndr.math / Matrix44

Matrix44

data class Matrix44 : Serializable

Constructors

<init>

Matrix44(c0r0: Double = 0.0, c1r0: Double = 0.0, c2r0: Double = 0.0, c3r0: Double = 0.0, c0r1: Double = 0.0, c1r1: Double = 0.0, c2r1: Double = 0.0, c3r1: Double = 0.0, c0r2: Double = 0.0, c1r2: Double = 0.0, c2r2: Double = 0.0, c3r2: Double = 0.0, c0r3: Double = 0.0, c1r3: Double = 0.0, c2r3: Double = 0.0, c3r3: Double = 0.0)

Properties

c0r0

val c0r0: Double

c0r1

val c0r1: Double

c0r2

val c0r2: Double

c0r3

val c0r3: Double

c1r0

val c1r0: Double

c1r1

val c1r1: Double

c1r2

val c1r2: Double

c1r3

val c1r3: Double

c2r0

val c2r0: Double

c2r1

val c2r1: Double

c2r2

val c2r2: Double

c2r3

val c2r3: Double

c3r0

val c3r0: Double

c3r1

val c3r1: Double

c3r2

val c3r2: Double

c3r3

val c3r3: Double

determinant

val determinant: Double

inversed

val inversed: Matrix44

trace

val trace: Double

transposed

val transposed: Matrix44

Functions

get

operator fun get(index: Int): Vector4

Returns a column vector

minus

operator fun minus(o: Matrix44): Matrix44

plus

operator fun plus(o: Matrix44): Matrix44

times

operator fun times(v: Vector4): Vector4
operator fun times(v: Vector3): Vector3
operator fun times(s: Double): Matrix44
operator fun times(mat: Matrix44): Matrix44

toString

fun toString(): String

Companion Object Properties

IDENTITY

val IDENTITY: Matrix44

ZERO

val ZERO: Matrix44

Companion Object Functions

fromColumnVectors

fun fromColumnVectors(c0: Vector4, c1: Vector4, c2: Vector4, c3: Vector4): Matrix44