(make-vertex3d '(-10 0 -10) '(0 0 1) '(255 0 255 0) '(0 0))))
(define material (make-material #:wireframe #f #:lighting #f))
-(box3d-reset! box (vertex3d-position (car vertices)))
+(reset-box3d! box (vertex3d-position (car vertices)))
(for-each
(lambda (vertex)
(box3d-add-internal-point! box (vertex3d-position vertex)))
(let ((aabbox3d_make (get-irrlicht-proc "aabbox3d_make")))
(make <box3d> #:irr-pointer (aabbox3d_make))))
-(export <box3d> make-box3d)
+(define-method (reset-box3d! (box3d <box3d>) init-value)
+ (let ((reset (get-irrlicht-proc "aabbox3d_reset")))
+ (reset box3d init-value)))
+
+(export <box3d> make-box3d reset-box3d!)