]> git.jsancho.org Git - guile-irrlicht.git/blobdiff - irrlicht/scene.scm
set-frame-loop!
[guile-irrlicht.git] / irrlicht / scene.scm
index 3cdc6890fdd8e99dce1c7c47cacaeec46133347e..a20b78c0ef564d5bebc33183ef64d1bb5038c29f 100644 (file)
 (define-class <animated-mesh-scene-node> (<scene-node>)
   (irr-class #:init-value "IAnimatedMeshSceneNode"))
 
+(define-method (set-frame-loop! (node <animated-mesh-scene-node>) begin end)
+  (let ((setFrameLoop (get-irrlicht-proc "setFrameLoop" node)))
+    (setFrameLoop node begin end)))
+
 (define-method (set-md2-animation! (node <animated-mesh-scene-node>) anim)
   ((get-irrlicht-proc "setMD2Animation" node)
    node
    anim))
 
-(export <animated-mesh-scene-node> set-md2-animation!)
+(export <animated-mesh-scene-node> set-frame-loop! set-md2-animation!)
 
 
 ;; ICameraSceneNode