diff options
author | Aki <nthirtyone@gmail.com> | 2016-08-05 17:30:56 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-08-05 17:30:56 +0200 |
commit | 7e8663fe5b1917d33f947ce2ec87b08d94358157 (patch) | |
tree | 5b400033a4593fd7db78c801ed7c780eddd29e6d /camera.lua | |
parent | a63e57ff889cf1528c6b96aa82f2798bf399de0b (diff) | |
download | roflnauts-7e8663fe5b1917d33f947ce2ec87b08d94358157.zip roflnauts-7e8663fe5b1917d33f947ce2ec87b08d94358157.tar.gz roflnauts-7e8663fe5b1917d33f947ce2ec87b08d94358157.tar.bz2 |
Fixed translate bug
Diffstat (limited to 'camera.lua')
-rw-r--r-- | camera.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -65,7 +65,7 @@ end function Camera:translatePosition(x, y) local x = x or 0 local y = y or 0 - return x-self.x*self.scale, y-self.y*self.scale + return (x-self.x)*self.scale, (y-self.y)*self.scale end function Camera:translatePoints(...) |