Author: JonNeal Date: 2008-03-09 15:36:17 -0400 (Sun, 09 Mar 2008) New Revision: 1116
Added: trunk/pysoy/src/_datatypes/BodyPosition.pxi Modified: trunk/pysoy/examples/void.py Log: Ticket #945: started soy._datatypes.BodyPosition Modified: trunk/pysoy/examples/void.py =================================================================== --- trunk/pysoy/examples/void.py 2008-03-09 02:17:33 UTC (rev 1115) +++ trunk/pysoy/examples/void.py 2008-03-09 19:36:17 UTC (rev 1116) @@ -6,9 +6,10 @@ sce = soy.scenes.Scene() cam = soy.bodies.Camera(sce) -scr = soy.Screen() -win = soy.Window(scr) -pro = soy.widgets.Projector(win, camera=cam) +#scr = soy.Screen() +#win = soy.Window(scr) +#pro = soy.widgets.Projector(win, camera=cam) + while True : sleep(1) Copied: trunk/pysoy/src/_datatypes/BodyPosition.pxi (from rev 1115, trunk/pysoy/src/stubs/Stub.pxi) =================================================================== --- trunk/pysoy/src/_datatypes/BodyPosition.pxi (rev 0) +++ trunk/pysoy/src/_datatypes/BodyPosition.pxi 2008-03-09 19:36:17 UTC (rev 1116) @@ -0,0 +1,27 @@ +# PySoy's soy._datatypes.BodyPosition +# +# Copyright (C) 2006,2007,2008 PySoy Group +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, see http://www.gnu.org/licenses +# +# $Id:$ + +cdef class BodyPosition : + '''soy._datatypes.BodyPosition + + This is a container for the position of bodies + ''' + + def __cinit__(self, parent) : + self._body = parent _______________________________________________ PySoy-SVN mailing list PySoy-SVN@pysoy.org http://www.pysoy.org/mailman/listinfo/pysoy-svn