~jtaylor/ubuntu/oneiric/soya/fix-780305

« back to all changes in this revision

Viewing changes to ode/geomobject.pxd

  • Committer: Bazaar Package Importer
  • Author(s): Marc Dequènes (Duck)
  • Date: 2005-01-30 09:55:06 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050130095506-f21p6v6cgaobhn5j
Tags: 0.9.2-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Each geom object has to insert itself into the global dictionary
 
2
# _geom_c2py_lut (key:address - value:Python object).
 
3
# This lookup table is used in the near callback to translate the C
 
4
# pointers into corresponding Python wrapper objects.
 
5
#
 
6
# Additionally, each geom object must have a method _id() that returns
 
7
# the ODE geom id. This is used during collision detection.
 
8
 
9
# ##########################
 
10
# # Obsolete:
 
11
# #
 
12
# # Each geom object has to register itself at its space as the
 
13
# # space keeps a dictionary that's used as lookup table to translate
 
14
# # C pointers into Python objects (this is used in the near callback).
 
15
 
 
16
cdef class GeomObject:
 
17
    cdef dGeomID gid
 
18
    cdef object space
 
19
    cdef object body
 
20
    cdef object attribs
 
21
 
 
22
 
 
23