Summary
Methods
- adjoint(a, out) → {Mat3}
- clone(a) → {Mat3}
- copy(a, out) → {Mat3}
- create() → {Mat3}
- determinant(a) → {Number}
- frob(a) → {Number}
- fromMat2d(a, out) → {Mat3}
- fromMat4(a, out) → {Mat3}
- fromQuat(q, out) → {Mat3}
- fromRotation(rad, out) → {Mat3}
- fromScaling(v, out) → {Mat3}
- fromTranslation(v, out) → {Mat3}
- identity(out) → {Mat3}
- invert(a, out) → {Mat3}
- mul()
- multiply(a, b, out) → {Mat3}
- normalFromMat4(a, out) → {Mat3}
- rotate(a, rad, out) → {Mat3}
- scale(a, v, out) → {Mat3}
- str(mat) → {String}
- translate(a, v, out) → {Mat3}
- transpose(a, out) → {Mat3}
Detailed Description
Methods
adjoint(a, out) → {Mat3}
clone(a) → {Mat3}
copy(a, out) → {Mat3}
determinant(a) → {Number}
Calculates the determinant of a mat3
Parameters:
Name | Type | Description |
---|---|---|
a |
Mat3 | the source matrix |
Returns:
determinant of a
- Type
- Number
- Source:
frob(a) → {Number}
Returns Frobenius norm of a mat3
Parameters:
Name | Type | Description |
---|---|---|
a |
Mat3 | the matrix to calculate Frobenius norm of |
Returns:
Frobenius norm
- Type
- Number
- Source:
fromMat2d(a, out) → {Mat3}
fromMat4(a, out) → {Mat3}
fromQuat(q, out) → {Mat3}
fromRotation(rad, out) → {Mat3}
fromScaling(v, out) → {Mat3}
fromTranslation(v, out) → {Mat3}
identity(out) → {Mat3}
invert(a, out) → {Mat3}
mul()
Alias for mat3.multiply
- Source:
multiply(a, b, out) → {Mat3}
normalFromMat4(a, out) → {Mat3}
rotate(a, rad, out) → {Mat3}
scale(a, v, out) → {Mat3}
str(mat) → {String}
Returns a string representation of a mat3
Parameters:
Name | Type | Description |
---|---|---|
mat |
Mat3 | matrix to represent as a string |
Returns:
string representation of the matrix
- Type
- String
- Source: