Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defmethod update ((object scene))
- "Update the physics of the scene"
- (with-slots (accumulator dt) object
- (loop while (>= accumulator dt)
- do (map-nodes #'update)
- (decf accumulator dt))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement