]> git.jsancho.org Git - guile-irrlicht.git/blobdiff - examples/01.HelloWorld.scm
add-camera-scene-node!
[guile-irrlicht.git] / examples / 01.HelloWorld.scm
index 3f128cb7770d3839213a0f825148165942f81adf..31db92b4ad453bd0cd7b242a29c8742a082f78fe 100644 (file)
 ;; load a Quake2 model
 (define mesh (get-mesh scene-manager "media/sydney.md2"))
 (when (not mesh)
-  (device-drop! device)
+  (drop! device)
   (exit #f))
 
-(define node (add-animated-mesh-scene-node scene-manager mesh))
+(define node (add-animated-mesh-scene-node! scene-manager mesh))
 (when node
   (set-material-flag! node 'lighting #f)
   (set-md2-animation! node 'stand)
@@ -68,5 +68,5 @@
   (end-scene driver))
 
 ;; delete device
-(device-drop! device)
+(drop! device)
 (exit #t)