CheapMatrix4

indigo.shared.datatypes.mutable.CheapMatrix4$package.CheapMatrix4
object CheapMatrix4

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

inline def apply(matrix: Array[Float]): CheapMatrix4
def apply(row0: (Float, Float, Float, Float), row1: (Float, Float, Float, Float), row2: (Float, Float, Float, Float), row3: (Float, Float, Float, Float)): CheapMatrix4

SHOULD ONLY BE USED BY TESTS

SHOULD ONLY BE USED BY TESTS

Attributes

def orthographic(left: Float, right: Float, bottom: Float, top: Float, near: Float, far: Float): CheapMatrix4
def orthographic(width: Float, height: Float): CheapMatrix4
def orthographic(x: Float, y: Float, width: Float, height: Float): CheapMatrix4

Extensions

Extensions

extension (m: CheapMatrix4)
def *(other: CheapMatrix4): CheapMatrix4
def rotate(angle: Float): CheapMatrix4
def scale(byX: Float, byY: Float, byZ: Float): CheapMatrix4
def toJSArray: Array[Float]
def transform(vector: Vector3): Vector3
def translate(byX: Float, byY: Float, byZ: Float): CheapMatrix4
def x: Float
def y: Float