X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=examples%2F01.HelloWorld.scm;h=3f128cb7770d3839213a0f825148165942f81adf;hb=fb9011bf9160be890e0a6b98fcff9ed95ae0bd77;hp=ea5c5be37768a63b2fee5d7e0ba91f9e5df7303b;hpb=6d96d2506407a538ddb88fa97c9375b512571dda;p=guile-irrlicht.git diff --git a/examples/01.HelloWorld.scm b/examples/01.HelloWorld.scm index ea5c5be..3f128cb 100644 --- a/examples/01.HelloWorld.scm +++ b/examples/01.HelloWorld.scm @@ -53,12 +53,12 @@ (define node (add-animated-mesh-scene-node scene-manager mesh)) (when node - (set-material-flag-am! node 'lighting #f) + (set-material-flag! node 'lighting #f) (set-md2-animation! node 'stand) - (set-material-texture-am! node 0 (get-texture driver "media/sydney.bmp"))) + (set-material-texture! node 0 (get-texture driver "media/sydney.bmp"))) ;; place camera -(add-camera-scene-node scene-manager #:position '(0 30 -40) #:lookat '(0 5 0)) +(add-camera-scene-node! scene-manager #:position '(0 30 -40) #:lookat '(0 5 0)) ;; draw everything (while (device-run? device)