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(); |
|
983 Mem::FillZ( GetGlobalData(), sizeof( TOdeStaticData ) ); |
981 Mem::FillZ( GetGlobalData(), sizeof( TOdeStaticData ) ); |
984 GetGlobalData()->autoEnableDepth = 2; |
982 GetGlobalData()->autoEnableDepth = 2; |
985 #endif // !__WINSCW__ |
983 #endif // !__WINSCW__ |
986 } |
984 } |
987 |
985 |