Lines 211-217
Link Here
|
211 |
{ |
211 |
{ |
212 |
_debug_contacts = new DebugContact*[_max_contacts]; |
212 |
_debug_contacts = new DebugContact*[_max_contacts]; |
213 |
for (unsigned int i = 0; i < _max_contacts; i++) |
213 |
for (unsigned int i = 0; i < _max_contacts; i++) |
214 |
_debug_contacts[i] = new DebugContact(Ogre::StringConverter::toString((int)_geom) + |
214 |
_debug_contacts[i] = new DebugContact(Ogre::StringConverter::toString((long)_geom) + |
215 |
"_Contact_" + |
215 |
"_Contact_" + |
216 |
Ogre::StringConverter::toString(i), |
216 |
Ogre::StringConverter::toString(i), |
217 |
_world); |
217 |
_world); |
Lines 273-279
Link Here
|
273 |
//------------------------------------------------------------------------------------------------ |
273 |
//------------------------------------------------------------------------------------------------ |
274 |
Space* Geometry::getSpace() |
274 |
Space* Geometry::getSpace() |
275 |
{ |
275 |
{ |
276 |
return (Space*)_world->getSpaceList().findItem((unsigned int)dGeomGetSpace(_geom)); |
276 |
return (Space*)_world->getSpaceList().findItem((unsigned long)dGeomGetSpace(_geom)); |
277 |
} |
277 |
} |
278 |
|
278 |
|
279 |
|
279 |
|
Lines 425-431
Link Here
|
425 |
} |
425 |
} |
426 |
_debug_contacts = new DebugContact*[max_contacts]; |
426 |
_debug_contacts = new DebugContact*[max_contacts]; |
427 |
for (unsigned int i = 0; i < max_contacts; i++) |
427 |
for (unsigned int i = 0; i < max_contacts; i++) |
428 |
_debug_contacts[i] = new DebugContact(Ogre::StringConverter::toString((int)_geom) + + "_Contact_" + Ogre::StringConverter::toString(i), |
428 |
_debug_contacts[i] = new DebugContact(Ogre::StringConverter::toString((long)_geom) + + "_Contact_" + Ogre::StringConverter::toString(i), |
429 |
_world); |
429 |
_world); |
430 |
} |
430 |
} |
431 |
_max_contacts = max_contacts; |
431 |
_max_contacts = max_contacts; |