Module
GLMatrix.Mat3.Mix
- Package
- purescript-gl-matrix
- Repository
- dirkz/purescript-gl-matrix
#fromScaling Source
fromScaling :: Vec2 -> Mat3
#fromTranslation Source
fromTranslation :: Vec2 -> Mat3
Creates a matrix from a vector translation This is equivalent to (but much faster than): mat3.identity(dest); mat3.translate(dest, dest, vec);
#normalFromMat4 Source
normalFromMat4 :: Mat4 -> Mat3
Calculates a 3x3 normal matrix (transpose inverse) from the 4x4 matrix