(addOctreeSceneNode scene-manager mesh parent id minimal-polys-per-node
also-add-if-mesh-pointer-zero)))))
+(define-method (create-rotation-animator (scene-manager <scene-manager>) rotation-speed)
+ (let ((createRotationAnimator (get-irrlicht-proc "createRotationAnimator" scene-manager)))
+ (make <scene-node-animator>
+ #:irr-pointer
+ (createRotationAnimator scene-manager rotation-speed))))
+
(define-method (draw-all (scene-manager <scene-manager>))
((get-irrlicht-proc "drawAll" scene-manager)
scene-manager))
(make <scene-node> #:irr-pointer (getRootSceneNode scene-manager))))
(export <scene-manager> add-animated-mesh-scene-node! add-camera-scene-node!
- add-camera-scene-node-fps! add-custom-scene-node! add-octree-scene-node! draw-all
- get-root-scene-node get-mesh)
+ add-camera-scene-node-fps! add-custom-scene-node! add-octree-scene-node!
+ create-rotation-animator draw-all get-root-scene-node get-mesh)
;; ISceneNode
(irr-class #:init-value "IMeshSceneNode"))
(export <mesh-scene-node>)
+
+
+;; ISceneNodeAnimator
+(define-class <scene-node-animator> (<attribute-exchanging-object> <event-receiver>)
+ (irr-class #:init-value "ISceneNodeAnimator"))
+
+(export <scene-node-animator>)