Author: ArcRiley Date: 2008-03-06 18:09:52 -0500 (Thu, 06 Mar 2008) New Revision: 1076
Modified: trunk/pysoy/src/bodies._bodies/Camera.pxi trunk/pysoy/src/scenes/Scene.pxi Log: Ticket #901 : * disabled stuff (temporarily) for debugging Modified: trunk/pysoy/src/bodies._bodies/Camera.pxi =================================================================== --- trunk/pysoy/src/bodies._bodies/Camera.pxi 2008-03-06 21:55:24 UTC (rev 1075) +++ trunk/pysoy/src/bodies._bodies/Camera.pxi 2008-03-06 23:09:52 UTC (rev 1076) @@ -61,6 +61,7 @@ gl.glLineWidth (1) # # Now we apply an inverse matrix to translate to the Scene's origin + ''' _mtx[0] = self._rotation[0] _mtx[1] = self._rotation[1] _mtx[2] = self._rotation[2] @@ -79,6 +80,7 @@ _mtx[15] = 1.0 gl.glLoadMatrixf(_mtx) gl.glTranslatef(-self._position[0], -self._position[1], -self._position[2]) + ''' (<soy.scenes.Scene> self._scene)._coreRender() # # Framerate calc Modified: trunk/pysoy/src/scenes/Scene.pxi =================================================================== --- trunk/pysoy/src/scenes/Scene.pxi 2008-03-06 21:55:24 UTC (rev 1075) +++ trunk/pysoy/src/scenes/Scene.pxi 2008-03-06 23:09:52 UTC (rev 1076) @@ -77,6 +77,7 @@ self._giveFields._empty() # self._bodies._iterStart() + ''' for _i from 0 <= _i < self._bodies._current : # # isinstance here == BAD, SLOW! @@ -99,6 +100,7 @@ self._callFields._foreach(_runField, NULL) self._bodies._iterDone() # + ''' _step = self._steps() if _step > _maxstep : _maxstep = _step @@ -116,6 +118,7 @@ self._stepUnLock() return 1 + cdef void _coreRender(self) : cdef int _i cdef float _ambientLight[4] _______________________________________________ PySoy-SVN mailing list PySoy-SVN@pysoy.org http://www.pysoy.org/mailman/listinfo/pysoy-svn