Module

Data.ST.Matrix4

Package
purescript-matrix
Repository
jutaro/purescript-matrix

Inspired by Mjs library for javascript

#STMat4 Source

type STMat4 h = STMat Four h Number

#identityST Source

identityST :: forall r h. Eff (st :: ST h | r) (STMat Four h Number)

#rotateST Source

rotateST :: forall r h. Number -> Vec3N -> STMat4 h -> Eff (st :: ST h | r) Unit

#rotateSTX Source

rotateSTX :: forall r h. Number -> STMat4 h -> Eff (st :: ST h | r) Unit

#rotateSTY Source

rotateSTY :: forall r h. Number -> STMat4 h -> Eff (st :: ST h | r) Unit

#rotateSTZ Source

rotateSTZ :: forall r h. Number -> STMat4 h -> Eff (st :: ST h | r) Unit

#translateST Source

translateST :: forall r h. Vec3N -> STMat4 h -> Eff (st :: ST h | r) Unit

#scaleST3 Source

scaleST3 :: forall r h. Number -> Number -> Number -> STMat4 h -> Eff (st :: ST h | r) Unit