#:jump-speed jump-speed #:invert-mouse invert-mouse
#:make-active make-active))))
+(define-method (add-cube-scene-node! (scene-manager <scene-manager>) . rest)
+ (let-keywords rest #f
+ ((size 10)
+ (parent (make <scene-node>))
+ (id -1)
+ (position '(0 0 0))
+ (rotation '(0 0 0))
+ (scale '(1 1 1)))
+ (let ((addCubeSceneNode (get-irrlicht-proc "addCubeSceneNode" scene-manager parent)))
+ (addCubeSceneNode scene-manager size parent id position rotation scale))))
+
(define-method (add-custom-scene-node! (scene-manager <scene-manager>) proc-render
proc-get-bounding-box proc-get-material-count
proc-get-material . rest)
(let ((getRootSceneNode (get-irrlicht-proc "getRootSceneNode" scene-manager)))
(getRootSceneNode scene-manager)))
-(export <scene-manager> add-animated-mesh-scene-node! add-camera-scene-node!
+(export <scene-manager> add-animated-mesh-scene-node! add-cube-scene-node! add-camera-scene-node!
add-camera-scene-node-fps! add-custom-scene-node! add-octree-scene-node!
add-sphere-scene-node! create-rotation-animator draw-all get-root-scene-node get-mesh)