Changeset 1317 for trunk/pysoy/include

Show
Ignore:
Timestamp:
07/15/08 04:39:26 (5 months ago)
Author:
ArcRiley
Message:

Ticket #929 :

  • rearranged widgets.Projector → bodies.Camera → scenes.Scene API
  • Landscape (and eventually Space, etc) can now set a different zFar
  • eventually support many other neat tricks, too!
Location:
trunk/pysoy/include
Files:
3 modified

Legend:

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

    r1305 r1317  
    1818# $Id$ 
    1919 
     20cimport gl 
    2021cimport ode 
    2122cimport soy._internals 
     
    8687cdef class Camera (Body) : 
    8788  cdef int                      _wire 
    88   cdef float                    _fovy 
    8989  cdef int                      _rpt 
    9090  cdef double                   _rtimes[16] 
     91  cdef gl.GLdouble              _fovy 
     92  cdef gl.GLdouble              _znear 
     93  cdef gl.GLdouble              _zfar 
    9194  # WindowLoop functions 
    92   cdef void                     _project                 ( self )        #nogil 
     95  cdef void                     _project                 ( self, 
     96                                                           gl.GLdouble ) #nogil 
    9397 
    9498 
  • trunk/pysoy/include/soy.scenes.pxd

    r1314 r1317  
    7070  cdef double                     _time 
    7171  # _coreloop methods 
    72   cdef void                       _render         ( self ) 
     72  cdef void                       _render         ( self,  
     73                                                    gl.GLdouble, gl.GLdouble,  
     74                                                    gl.GLdouble, gl.GLdouble ) 
    7375  cdef int                        _steps          ( self )                nogil 
    7476  cdef void                       _callback       ( self,  
  • trunk/pysoy/include/soy.widgets.pxd

    r1253 r1317  
    6868  cdef soy.bodies.Camera               _camera 
    6969  cdef int                             _connected 
    70   cdef float                           _znear 
    71   cdef float                           _zfar