#:jump-speed jump-speed #:invert-mouse invert-mouse
#:make-active make-active)))))
+(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-keywords rest #f
+ ((parent (make <scene-node>))
+ (id -1)
+ (position '(0 0 0))
+ (rotation '(0 0 0))
+ (scale '(1 1 1)))
+ (let ((addCustomSceneNode (get-irrlicht-proc "addCustomSceneNode" scene-manager parent)))
+ (make <scene-node>
+ #:irr-pointer
+ (addCustomSceneNode scene-manager proc-render proc-get-bounding-box proc-get-material-count
+ proc-get-material parent id position rotation scale)))))
+
(define-method (add-octree-scene-node! (scene-manager <scene-manager>)
(mesh <animated-mesh>)
. rest)
filename)))
(export <scene-manager> add-animated-mesh-scene-node! add-camera-scene-node!
- add-camera-scene-node-fps! add-octree-scene-node! draw-all get-mesh)
+ add-camera-scene-node-fps! add-custom-scene-node! add-octree-scene-node! draw-all get-mesh)
;; ISceneNode