Changeset 1340 for trunk/pysoy/include

Show
Ignore:
Timestamp:
07/19/08 01:29:37 (5 months ago)
Author:
ArcRiley
Message:

Ticket #929 :

  • changed it to use quads instead of triangles
  • now supports heightmaps > 256x256 (int, not short)
  • signifigant cleanup
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pysoy/include/soy.scenes.pxd

    r1338 r1340  
    3333    unsigned short b 
    3434    unsigned short c 
     35 
     36  struct Quad : 
     37    unsigned int a 
     38    unsigned int b 
     39    unsigned int c 
     40    unsigned int d 
    3541 
    3642  struct Vert : 
     
    9096  cdef soy.textures.Texture       _tzMap 
    9197  cdef soy.materials.Material     _material 
    92   cdef gl.GLuint                  _buffer 
    93   cdef gl.GLuint                  _elementbuffer 
    9498  cdef Vert*                      _vertArray 
    95   cdef Face*                      _elementArray 
     99  cdef gl.GLuint                  _vertBuffer 
     100  cdef Quad*                      _faceArray 
     101  cdef gl.GLuint                  _faceBuffer 
    96102  cdef void                       _createBuffer   ( self ) 
    97103  cdef void                       _createArrays   ( self )