Update of /cvsroot/pyode/pyode/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12697
Modified Files:
ode.pyx
Log Message:
Increased maximum number of contact points
Index: ode.pyx
===================================================================
RCS file: /cvsroot/pyode/pyode/src/ode.pyx,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ode.pyx 12 Jul 2004 17:30:08 -0000 1.4
--- ode.pyx 19 Jul 2004 14:56:42 -0000 1.5
***************
*** 165,169 ****
"""
! cdef dContactGeom c[10]
cdef long id1
cdef long id2
--- 165,169 ----
"""
! cdef dContactGeom c[150]
cdef long id1
cdef long id2
***************
*** 174,178 ****
id2 = geom2._id()
! n = dCollide(<dGeomID>id1, <dGeomID>id2, 10, c, sizeof(dContactGeom))
res = []
i=0
--- 174,178 ----
id2 = geom2._id()
! n = dCollide(<dGeomID>id1, <dGeomID>id2, 150, c, sizeof(dContactGeom))
res = []
i=0
|