aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2024-12-24 12:06:48 -0800
committer3gg <3gg@shellblade.net>2024-12-24 12:06:48 -0800
commit0e62e481f56e7085856a4650268c04ac9d05fb9c (patch)
tree5be9e7cb104a78d927f96fd28ee823456127cb26
parentbb51e8025f178d7423c5404b8e8e6909f856907b (diff)
Comment.
-rw-r--r--Spear/Math/Spatial2.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Spear/Math/Spatial2.hs b/Spear/Math/Spatial2.hs
index 1cc2b65..62eb75a 100644
--- a/Spear/Math/Spatial2.hs
+++ b/Spear/Math/Spatial2.hs
@@ -14,6 +14,8 @@ import Spear.Math.Vector
14import Spear.Prelude 14import Spear.Prelude
15 15
16 16
17-- TODO: These type synonyms don't seem to work well when trying to instantiate
18-- the classes.
17type Positional2 a = Positional a Vector2 19type Positional2 a = Positional a Vector2
18type Rotational2 a = Rotational a Angle 20type Rotational2 a = Rotational a Angle
19type Spatial2 s = Spatial s Vector2 Angle Transform2 21type Spatial2 s = Spatial s Vector2 Angle Transform2