Author: ArcRiley Date: 2007-07-03 22:41:41 -0400 (Tue, 03 Jul 2007) New Revision: 343
Modified: trunk/pysoy/tests/lit_pyramid.py Log: moving it again, implementing __main__ test Modified: trunk/pysoy/tests/lit_pyramid.py =================================================================== --- trunk/pysoy/tests/lit_pyramid.py 2007-07-04 02:38:45 UTC (rev 342) +++ trunk/pysoy/tests/lit_pyramid.py 2007-07-04 02:41:41 UTC (rev 343) @@ -16,7 +16,8 @@ pyr = soy.bodies.Pyramid(sce, tex) pyr.rotation = (1.0, 1.0, 0.0) lig = soy.bodies.lights.Light(sce) -lig.position = (1.0,1.0,-3.0) +lig.position = (1.0,1.0,3.0) -while True: - sleep(10) +if __name__ == '__main__' : + while True: + sleep(10) _______________________________________________ PySoy-SVN mailing list [email protected] http://www.pysoy.org/mailman/listinfo/pysoy-svn
