my question is, how do i define incf and decf functions for position2d.value which the drifter cell depends on?
or maybe there is some other way to define a value for initialization time and use (setf (vector-add .cache translation)) on change?
- Code: Select all
(object-pos (make-instance 'position2d
:value (cells:c... ((vector2d-0)) (translation2d-of object-mover))