Module
GLMatrix.Mat3
- Package
- purescript-gl-matrix
- Repository
- dirkz/purescript-gl-matrix
#determinant Source
determinant :: Mat3 -> Number
Calculates the determinant of a Mat3
#fromRotation Source
fromRotation :: Number -> Mat3
Creates a matrix from a given angle This is equivalent to (but much faster than): mat3.identity(dest); mat3.rotate(dest, dest, rad);
#multiplyScalar Source
multiplyScalar :: Mat3 -> Number -> Mat3
Multiply each element of the matrix by a scalar
#multiplyScalarAndAdd Source
multiplyScalarAndAdd :: Mat3 -> Mat3 -> Number -> Mat3
Adds two Mat3's after multiplying each element of the second operand by a scalar value
#projection Source
projection :: Number -> Number -> Mat3
Generates a 2D projection matrix with the given bounds