Skip to content

@simversus/yjvisDocs


@simversus/yjvis / Mat3

Class: Mat3

Constructors

new Mat3()

new Mat3(m00, m01, m02, m10, m11, m12, m20, m21, m22): Mat3

Parameters

m00: number = 1

m01: number = 0

m02: number = 0

m10: number = 0

m11: number = 1

m12: number = 0

m20: number = 0

m21: number = 0

m22: number = 1

Returns

Mat3

Defined in

math/mat3.ts:7

Properties

elements

elements: Number9

Defined in

math/mat3.ts:5

Methods

normalFromMat4()

normalFromMat4(m): Mat3

Parameters

m: Mat4

Returns

Mat3

Defined in

math/mat3.ts:27


set()

set(m00, m01, m02, m10, m11, m12, m20, m21, m22): Mat3

Parameters

m00: number

m01: number

m02: number

m10: number

m11: number

m12: number

m20: number

m21: number

m22: number

Returns

Mat3

Defined in

math/mat3.ts:12


setUvTransform()

setUvTransform(tx, ty, sx, sy, rotation, cx, cy): Mat3

Parameters

tx: any

ty: any

sx: number

sy: number

rotation: number

cx: number

cy: number

Returns

Mat3

Defined in

math/mat3.ts:32