]> git.jsancho.org Git - guile-irrlicht.git/commitdiff
set-material-flag!
authorJavier Sancho <jsf@jsancho.org>
Mon, 11 May 2020 11:49:45 +0000 (13:49 +0200)
committerJavier Sancho <jsf@jsancho.org>
Mon, 11 May 2020 11:49:45 +0000 (13:49 +0200)
irrlicht.scm
irrlicht/scene.scm

index dcb4de5bd907af80a465d628fbf661d00f4271cd..c9d88672fc64ece5d911f0a4ab105cbdd83e70f7 100644 (file)
@@ -31,4 +31,5 @@
                get-scene-manager
                get-video-driver
                is-empty?
+               set-material-flag!
                set-window-caption!))
index da0336b58d21edbef4e0912b2eb197e9ab70bbb1..ee47d4c57fccee84f9beab104ff3ae63bb15c2a7 100644 (file)
 (define-class <scene-node> (<attribute-exchanging-object>)
   (irr-class #:init-value "ISceneNode" #:getter irr-class))
 
-(export <scene-node>)
+(define-method (set-material-flag! (node <scene-node>) flag new-value)
+  ((get-irrlicht-proc "setMaterialFlag" node)
+   (irr-pointer node)
+   flag
+   new-value))
+
+(export <scene-node> set-material-flag!)
 
 
 ;; ISceneNode