ode/src/collision_kernel.cpp
branchRCL_3
changeset 23 3d340a0166ff
parent 0 2f259fa3e83a
child 55 aecbbf00d063
equal deleted inserted replaced
18:0aa5fbdfbc30 23:3d340a0166ff
   976 extern void opcode_collider_cleanup();
   976 extern void opcode_collider_cleanup();
   977 
   977 
   978 EXPORT_C void dInitODE()
   978 EXPORT_C void dInitODE()
   979 {
   979 {
   980 #ifndef __WINSCW__
   980 #ifndef __WINSCW__
       
   981     // clean up cached object if there is any.
       
   982     dClearPosrCache();
   981     Mem::FillZ( GetGlobalData(), sizeof( TOdeStaticData ) );
   983     Mem::FillZ( GetGlobalData(), sizeof( TOdeStaticData ) );
   982     GetGlobalData()->autoEnableDepth = 2;
   984     GetGlobalData()->autoEnableDepth = 2;
   983 #endif // !__WINSCW__
   985 #endif // !__WINSCW__
   984 }
   986 }
   985 
   987