root / trunk / pysoy / src / bodies / __init__.pym

Revision 1257, 1.4 kB (checked in by ArcRiley, 5 months ago)

Ticket #901 :

  • upgrade to Pyrex 0.9.8
  • implement cyclic cimport fix in bodies
  • update API respectively, removing redundant typecasts
  • nogil: in use for bodies
  • Property svn:keywords set to Author Date Rev
Line 
1'''Body Classes
2
3This is a collection of classes that exist in 3d space.  Each body exists
4within a soy.scenes.Scene.  Every body has mass, velocity, and rotational velocity.
5
6Rendering of a Body is done by setting the .mesh property to a soy.mesh
7object.
8
9Similarly, collision and other contact behaviour is governed by
10the .shape property, which can be set to a soy.shape.
11
12Bodies' motions can be limited and guided by using soy.joints.
13'''
14__credits__ = '''Copyright (C) 2006,2007,2008 PySoy Group
15
16    This program is free software; you can redistribute it and/or modify
17    it under the terms of the GNU Affero General Public License as published
18    by the Free Software Foundation, either version 3 of the License, or
19    (at your option) any later version.
20
21    This program is distributed in the hope that it will be useful,
22    but WITHOUT ANY WARRANTY; without even the implied warranty of
23    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24    GNU Affero General Public License for more details.
25
26    You should have received a copy of the GNU Affero General Public License
27    along with this program; if not, see http://www.gnu.org/licenses
28'''
29__author__  = 'PySoy Group'
30__date__    = 'Last change on '+ \
31              '$Date$'[7:-20]+ \
32              'by '+'$Author$'[9:-2]
33__version__ = 'Trunk (r'+'$Rev$'[6:-2]+')'
34
35cimport gl
36cimport py
37cimport stdio
38cimport soy.colors
Note: See TracBrowser for help on using the browser.