Advertisement
Guest User

Untitled

a guest
Apr 25th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.23 KB | None | 0 0
  1. (defmethod move-to ((atom cqm-atom) &rest r)
  2.   (destructuring-bind (x-or-v &optional y z) r
  3.     (setf (location atom)
  4.           (if (and y z)
  5.               (make-instance 'vector-3d :x x-or-v :y y :z z)
  6.               x-or-v))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement