Advertisement
Guest User

Untitled

a guest
Jan 28th, 2015
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.22 KB | None | 0 0
  1. (defmethod update ((object scene))
  2.   "Update the physics of the scene"
  3.   (with-slots (accumulator dt) object
  4.     (loop while (>= accumulator dt)
  5.           do (map-nodes #'update)
  6.              (decf accumulator dt))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement