example/test_scene: round the second number
This commit is contained in:
parent
16df998d84
commit
fa92576979
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ function TestScene:draw()
|
|||
love.graphics.rectangle("fill", 0, 0, 424, 240)
|
||||
|
||||
love.graphics.setColor(0, 0, 0, 1)
|
||||
love.graphics.print(self.i .. " ; " .. self.mouse.x .. ":" .. self.mouse.y, 16, 16)
|
||||
love.graphics.print(math.floor(self.i) .. " ; " .. self.mouse.x .. ":" .. self.mouse.y, 16, 16)
|
||||
end
|
||||
|
||||
return TestScene
|
||||
|
|
Loading…
Reference in a new issue