Changeset 1355

Show
Ignore:
Timestamp:
09/08/08 04:24:34 (3 months ago)
Author:
ArcRiley
Message:

More docs work.

Location:
trunk/pysoy/src
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/pysoy/src/actions/Print.pym

    r1354 r1355  
    2121  '''soy.actions.Print 
    2222   
    23     This L{action<soy.action.Action>} prints the specified text on performance. 
     23    This L{actions class<soy.actions>} prints the specified text on  
     24    performance.  This is useful for debugging. 
    2425 
    2526    Note that as of Python 3.0, this class will use the standard print  
  • trunk/pysoy/src/models/Axis.pym

    r1258 r1355  
    2121  '''soy.models.Axis 
    2222 
    23     This models class renders an XYZ axis at the center of bodies. 
     23    This L{models class<soy.models>} renders a "XYZ axis" oriented to each  
     24    body it's attached to.  This is useful for debugging. 
    2425  ''' 
    2526 
     
    3132 
    3233  cdef void _render(self, soy.bodies.Body _body) : 
     34    # 
     35    # This should be upgraded to use VBO.  Test for buffer ID here. 
     36    # 
    3337    gl.glPushMatrix() 
    3438    gl.glDisable(gl.GL_CULL_FACE) 
  • trunk/pysoy/src/models/Billboard.pym

    r1258 r1355  
    2121  '''soy.models.Billboard 
    2222   
    23     This mesh rendering quad always facing the camera 
     23    This L{models class<soy.models>} renders a L{material<soy.materials>}  
     24    which always faces the L{camera<soy.bodies.Camera>} viewing it. 
     25 
     26    @type  material : soy.materials.Material 
     27    @param material : Material to be used 
     28    @type  size     : tuple 
     29    @param size     : Initial size of the Billboard 
    2430  ''' 
    2531 
    2632 
    27   def __cinit__(self, material,size=(1,1), *args, **kwargs): 
     33  def __cinit__(self, material, size=(1,1), *args, **kwargs): 
    2834    self._material = material 
    2935    self._size[0]  = size[0]