From 6d96d2506407a538ddb88fa97c9375b512571dda Mon Sep 17 00:00:00 2001 From: Javier Sancho Date: Fri, 25 Oct 2019 12:43:14 +0200 Subject: [PATCH] Use examples relative route for media --- examples/01.HelloWorld.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/01.HelloWorld.scm b/examples/01.HelloWorld.scm index 1df5080..ea5c5be 100644 --- a/examples/01.HelloWorld.scm +++ b/examples/01.HelloWorld.scm @@ -46,7 +46,7 @@ #:border #t) ;; load a Quake2 model -(define mesh (get-mesh scene-manager "examples/media/sydney.md2")) +(define mesh (get-mesh scene-manager "media/sydney.md2")) (when (not mesh) (device-drop! device) (exit #f)) @@ -55,7 +55,7 @@ (when node (set-material-flag-am! node 'lighting #f) (set-md2-animation! node 'stand) - (set-material-texture-am! node 0 (get-texture driver "examples/media/sydney.bmp"))) + (set-material-texture-am! node 0 (get-texture driver "media/sydney.bmp"))) ;; place camera (add-camera-scene-node scene-manager #:position '(0 30 -40) #:lookat '(0 5 0)) -- 2.39.5