aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Sunet <jeannekamikaze@gmail.com>2012-08-29 20:12:34 +0200
committerMarc Sunet <jeannekamikaze@gmail.com>2012-08-29 20:12:34 +0200
commit9014a19a7d19f7e84bddd421252399cfbe9a6486 (patch)
treede82ded78c480f984fa8a7bc3dd23edb2782044d
parent1cf92f71205a58b1c695410eae061055e128fe1e (diff)
Tidied up mat4
-rw-r--r--Spear/Math/Matrix4.hs10
1 files changed, 1 insertions, 9 deletions
diff --git a/Spear/Math/Matrix4.hs b/Spear/Math/Matrix4.hs
index 45a8171..a03f1da 100644
--- a/Spear/Math/Matrix4.hs
+++ b/Spear/Math/Matrix4.hs
@@ -160,15 +160,7 @@ position (Matrix4 _ _ _ a30 _ _ _ a31 _ _ _ a32 _ _ _ _)
160 160
161 161
162-- | Build a matrix from the specified values. 162-- | Build a matrix from the specified values.
163mat4 :: Float -> Float -> Float -> Float -> 163mat4 = Matrix4
164 Float -> Float -> Float -> Float ->
165 Float -> Float -> Float -> Float ->
166 Float -> Float -> Float -> Float -> Matrix4
167mat4 m00 m10 m20 m30 m01 m11 m21 m31 m02 m12 m22 m32 m03 m13 m23 m33 = Matrix4
168 m00 m10 m20 m30
169 m01 m11 m21 m31
170 m02 m12 m22 m32
171 m03 m13 m23 m33
172 164
173 165
174-- | Build a matrix from four vectors in 4D. 166-- | Build a matrix from four vectors in 4D.