diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2010-03-09 03:19:34 +0100 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2010-03-09 03:19:34 +0100 |
commit | 2bb85618366681c7c97f8b36cc85a18c45beb924 (patch) | |
tree | f3874e2fdd85cd9c5c13839e46d751d3f8966af6 /Render.hs | |
parent | aa00912206351431e931cde0645712c3016edf70 (diff) | |
download | htanks-2bb85618366681c7c97f8b36cc85a18c45beb924.tar htanks-2bb85618366681c7c97f8b36cc85a18c45beb924.zip |
Renamed some Tank and Shoot accessors
Diffstat (limited to 'Render.hs')
-rw-r--r-- | Render.hs | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -99,10 +99,10 @@ render = do vertex $ Vertex2 (0 :: GLfloat) (0 :: GLfloat) forM_ tanklist $ \tank -> preservingMatrix $ do - let x = fromReal . posx $ tank - y = fromReal . posy $ tank - rotDir = fromReal . dir $ tank - rotAim = fromReal . aim $ tank + let x = fromReal . tankX $ tank + y = fromReal . tankY $ tank + rotDir = fromReal . tankDir $ tank + rotAim = fromReal . tankAim $ tank translate $ Vector3 x y (0 :: GLfloat) rotate rotDir $ Vector3 0 0 (1 :: GLfloat) |