diff options
Diffstat (limited to 'Spear/Physics/Rigid.hs')
-rw-r--r-- | Spear/Physics/Rigid.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Spear/Physics/Rigid.hs b/Spear/Physics/Rigid.hs index 396cae4..cc153ec 100644 --- a/Spear/Physics/Rigid.hs +++ b/Spear/Physics/Rigid.hs | |||
@@ -45,6 +45,8 @@ instance Spatial2 RigidBody where | |||
45 | 45 | ||
46 | fwd _ = unity | 46 | fwd _ = unity |
47 | 47 | ||
48 | up _ = unity | ||
49 | |||
48 | right _ = unitx | 50 | right _ = unitx |
49 | 51 | ||
50 | transform body = M3.transform unitx unity $ position body | 52 | transform body = M3.transform unitx unity $ position body |