Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function drawRect(mode, x, y, w, h, a)
- love.graphics.push()
- love.graphics.translate(-w/2, -h/2)
- love.graphics.rotate(a)
- love.graphics.rectangle(mode, x, y, w, h)
- love.graphics.pop()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement