Changeset 1360 for trunk/pysoy/include/soy.models.pxd
- Timestamp:
- 09/11/08 01:39:22 (3 months ago)
- Files:
-
- 1 modified
-
trunk/pysoy/include/soy.models.pxd (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pysoy/include/soy.models.pxd
r1358 r1360 49 49 # 50 50 ############################################################################## 51 # 52 # Structs 53 # 54 55 cdef : 56 struct Line : 57 unsigned char a 58 unsigned char b 59 60 struct Face : 61 unsigned short a 62 unsigned short b 63 unsigned short c 64 65 struct VertPC : 66 float px 67 float py 68 float pz 69 float cr 70 float cg 71 float cb 51 72 52 73 … … 101 122 102 123 cdef class Axis (Model) : 103 cdef gl.GLuint _vertexBuffer# VBO ids 104 cdef gl.GLuint _elementBuffer 105 cdef float _axis[12] # contains both vertex and color data 106 cdef char _elements[2] # contains infomation to render the above vertex data in order 107 cdef void _createBuffer ( self ) 124 cdef gl.GLuint _vertBuffer 125 cdef gl.GLuint _elmtBuffer 108 126 109 127 110
