From ab54371cc4ae479cf31149e184bf6978db8ae4ad Mon Sep 17 00:00:00 2001 From: Javier Sancho Date: Fri, 22 May 2020 08:33:24 +0200 Subject: [PATCH] set-frame-loop! --- irrlicht.scm | 1 + irrlicht/scene.scm | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/irrlicht.scm b/irrlicht.scm index 7947093..22f5a60 100644 --- a/irrlicht.scm +++ b/irrlicht.scm @@ -95,6 +95,7 @@ make-vertex3d reset-box3d! run + set-frame-loop! set-material! set-material-flag! set-material-texture! diff --git a/irrlicht/scene.scm b/irrlicht/scene.scm index 3cdc689..a20b78c 100644 --- a/irrlicht/scene.scm +++ b/irrlicht/scene.scm @@ -247,12 +247,16 @@ (define-class () (irr-class #:init-value "IAnimatedMeshSceneNode")) +(define-method (set-frame-loop! (node ) begin end) + (let ((setFrameLoop (get-irrlicht-proc "setFrameLoop" node))) + (setFrameLoop node begin end))) + (define-method (set-md2-animation! (node ) anim) ((get-irrlicht-proc "setMD2Animation" node) node anim)) -(export set-md2-animation!) +(export set-frame-loop! set-md2-animation!) ;; ICameraSceneNode -- 2.39.5