4import Native.Matrix2D as M
6-- Create an identity matrix.
12-- Creates an arbitrary matrix. This lets you create scales, shears, reflections,
13-- translations, or any other 2D transform.
15-- matrix a b c d dx dy
20-- And `dx` and `dy` are the translation values.
21matrix : Float -> Float -> Float -> Float -> Float -> Float -> Matrix2D
23-- Creates a [rotation matrix](http://en.wikipedia.org/wiki/Rotation_matrix).
24-- Given an angle t, it creates a counterclockwise rotation matrix:
28rotation : Float -> Matrix2D
30-- Multiplies two matrices together:
34-- / a11 a12 \\ . / b11 b12 \\
35-- \\ a21 a22 / \\ b21 b22 /
36multiply : Matrix2D -> Matrix2D -> Matrix2D
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list