From 87e6d9b96167c5db7ef3c824b47c0d575b0fc4d2 Mon Sep 17 00:00:00 2001 From: Javier Sancho Date: Mon, 11 May 2020 13:54:06 +0200 Subject: [PATCH] set-md2-animation! --- irrlicht.scm | 1 + irrlicht/scene.scm | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/irrlicht.scm b/irrlicht.scm index c9d8867..6c0fb98 100644 --- a/irrlicht.scm +++ b/irrlicht.scm @@ -32,4 +32,5 @@ get-video-driver is-empty? set-material-flag! + set-md2-animation! set-window-caption!)) diff --git a/irrlicht/scene.scm b/irrlicht/scene.scm index ee47d4c..9ecb782 100644 --- a/irrlicht/scene.scm +++ b/irrlicht/scene.scm @@ -92,4 +92,9 @@ (define-class () (irr-class #:init-value "IAnimatedMeshSceneNode" #:getter irr-class)) -(export ) +(define-method (set-md2-animation! (node ) anim) + ((get-irrlicht-proc "setMD2Animation" node) + (irr-pointer node) + anim)) + +(export set-md2-animation!) -- 2.39.5