Changeset 1355
- Timestamp:
- 09/08/08 04:24:34 (3 months ago)
- Location:
- trunk/pysoy/src
- Files:
-
- 3 modified
-
actions/Print.pym (modified) (1 diff)
-
models/Axis.pym (modified) (2 diffs)
-
models/Billboard.pym (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pysoy/src/actions/Print.pym
r1354 r1355 21 21 '''soy.actions.Print 22 22 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. 24 25 25 26 Note that as of Python 3.0, this class will use the standard print -
trunk/pysoy/src/models/Axis.pym
r1258 r1355 21 21 '''soy.models.Axis 22 22 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. 24 25 ''' 25 26 … … 31 32 32 33 cdef void _render(self, soy.bodies.Body _body) : 34 # 35 # This should be upgraded to use VBO. Test for buffer ID here. 36 # 33 37 gl.glPushMatrix() 34 38 gl.glDisable(gl.GL_CULL_FACE) -
trunk/pysoy/src/models/Billboard.pym
r1258 r1355 21 21 '''soy.models.Billboard 22 22 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 24 30 ''' 25 31 26 32 27 def __cinit__(self, material, size=(1,1), *args, **kwargs):33 def __cinit__(self, material, size=(1,1), *args, **kwargs): 28 34 self._material = material 29 35 self._size[0] = size[0]
