equal
deleted
inserted
replaced
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 |