Interface Matrix

( interface Matrix<T> )

Index

Properties

Methods

Properties

public elements: Float32Array

Float32Array with matrix values.

Methods

public clone(): Matrix

clone():T;

Returns

Matrix

public copy(m: Matrix): Matrix

copy(m:T):T;

Parameters

Returns

Matrix

public determinant(): number

Returns

number

public getInverse(matrix: Matrix, throwOnInvertible?: boolean): Matrix

getInverse(matrix:T, throwOnInvertible?:boolean):T;

Parameters

  • matrix: Matrix
  • throwOnInvertible?: boolean optional

Returns

Matrix

public identity(): Matrix

identity():T;

Returns

Matrix

public multiplyScalar(s: number): Matrix

multiplyScalar(s:number):T;

Parameters

  • s: number

Returns

Matrix

public multiplyVector3Array(a: Array<number>): Array<number>

Parameters

  • a: Array<number>

Returns

Array<number>

public transpose(): Matrix

transpose():T;

Returns

Matrix