Determines whether this Lockable is locked.
If the Lockable is in the unlocked state then it is mutable.
If the Lockable is in the locked state then it is immutable.
Returns boolean
isOne
isOne(): boolean
Determines whether this matrix is the identity matrix for multiplication.
Returns boolean
isZero
isZero(): boolean
Determines whether this matrix is the identity matrix for addition.
Returns boolean
lock
lock(): number
Locks this Lockable (preventing any further mutation),
and returns a token that may be used to unlock it.
2x2 (square) matrix of numbers. Constructs a Matrix2 by wrapping a Float32Array. The elements are stored in column-major order: 0 2 1 3