demos/triangles_sphere.py
branchpyrit
changeset 22 76b7bd51d64a
parent 19 4e0955fca797
child 28 ffe83ca074f3
--- a/demos/triangles_sphere.py	Fri Nov 30 00:44:51 2007 +0100
+++ b/demos/triangles_sphere.py	Mon Dec 03 01:49:23 2007 +0100
@@ -1,7 +1,7 @@
 #!/usr/bin/python
 
 import sys
-sys.path.append("..")
+sys.path.append(open('ModulePath').read().strip())
 
 from raytracer import Raytracer, Light, Sphere, Triangle, Material
 import Image