diff options
author | Aki <nthirtyone@gmail.com> | 2017-09-12 01:53:03 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-09-12 01:53:03 +0200 |
commit | 20eb4aa0ecd165b727cbb5bb3f3a7aad6a49ebce (patch) | |
tree | 90c9b2c1f3623fed7f92fce97d1c99c84ed2c356 /not/PhysicalBody.lua | |
parent | 44bc9aa6fa62c1b23d1e98de8729c72132a88abc (diff) | |
download | roflnauts-20eb4aa0ecd165b727cbb5bb3f3a7aad6a49ebce.zip roflnauts-20eb4aa0ecd165b727cbb5bb3f3a7aad6a49ebce.tar.gz roflnauts-20eb4aa0ecd165b727cbb5bb3f3a7aad6a49ebce.tar.bz2 |
Draw debugging utilities using scaled camera
Diffstat (limited to 'not/PhysicalBody.lua')
-rw-r--r-- | not/PhysicalBody.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/not/PhysicalBody.lua b/not/PhysicalBody.lua index c9b7300..1b2e90d 100644 --- a/not/PhysicalBody.lua +++ b/not/PhysicalBody.lua @@ -78,7 +78,7 @@ function PhysicalBody:draw (offset_x, offset_y, scale, debug) love.graphics.setColor(137, 0, 255, 40) end local camera = self.world.camera - love.graphics.polygon("fill", camera:scalePoints(self.body:getWorldPoints(fixture:getShape():getPoints()))) + love.graphics.polygon("fill", self.body:getWorldPoints(fixture:getShape():getPoints())) end end end |