Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function cjrcle(r, x, y, circrez)
- delthe = math.pi/circrez
- for dtheta = math.pi, 0, -math.pi/512 do
- love.graphics.line(r*math.cos(dtheta), r*math.sin(dtheta), r*math.cos(-dtheta), r*math.sin(-dtheta))
- r*math.sin(-dtheta) + player.ypos)
- end
- end
- function update(dt)
- --delthe = math.pi/circrez
- delthe = delthe + math.pi/60*dt
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement