X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=examples%2F01.HelloWorld.scm;h=3f128cb7770d3839213a0f825148165942f81adf;hb=340d6bc2e11c89f4ae048d37a080a1cf371f47e6;hp=ea5c5be37768a63b2fee5d7e0ba91f9e5df7303b;hpb=4f9f0b90027aa3a254de58aea48a649727a05cda;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)