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