Author: ArcRiley Date: 2008-02-24 12:16:04 -0500 (Sun, 24 Feb 2008) New Revision: 975
Modified: trunk/pysoy/src/scenes/soy.scenes.pxd Log: Quick patch to allow Vert/Face to work in scenes/* Modified: trunk/pysoy/src/scenes/soy.scenes.pxd =================================================================== --- trunk/pysoy/src/scenes/soy.scenes.pxd 2008-02-24 14:59:16 UTC (rev 974) +++ trunk/pysoy/src/scenes/soy.scenes.pxd 2008-02-24 17:16:04 UTC (rev 975) @@ -27,7 +27,27 @@ #DEF GeomLight = 32 #DEF GeomLight = 64 +cdef : + struct Face : + unsigned short a + unsigned short b + unsigned short c + struct Vert : + float px + float py + float pz + float nx + float ny + float nz + float tx + float ty + float tz + float tan_x + float tan_y + float tan_z + + cdef void _prerunField(void*, void*, void*) cdef void _runField(void*, void*, void*) @@ -57,5 +77,5 @@ cdef class Planar (Scene) : cdef ode.dGeomID _planeID cdef int _offset - #cdef soy._datatypes.Vert _verts[4] - #cdef soy._datatypes.Face _faces[2] + cdef Vert _verts[4] + cdef Face _faces[2] _______________________________________________ PySoy-SVN mailing list PySoy-SVN@pysoy.org http://www.pysoy.org/mailman/listinfo/pysoy-svn