00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef TA_GLOBALS_H
00014 #define TA_GLOBALS_H
00015
00016 #ifndef TA_VECTOR_H
00017 #include "../Common/Vector.h"
00018 #endif // TA_VECTOR_H
00019
00020 namespace TA
00021 {
00022
00023 class Physics;
00024
00025 struct Globals
00026 {
00027 Physics* pPhysics;
00028 int nMaxNumCollisions;
00029 int nMaxNumMovingObjects;
00030 int nMaxNumDynamicObjectPairs;
00031 int nSlowSolverMaxNumConstraints;
00032 int nSlowSolverMaxNumObjects;
00033 float fPhysicsDt;
00034 int nPhysicsPass;
00035
00036 Physics& GetPhysics() { TA_ASSERT(pPhysics); return *pPhysics; }
00037 };
00038
00039 }
00040
00041 #endif // TA_GLOBALS_H
© Copyright 2004-2006 TRUE AXIS PTY LTD Australia. All rights reserved.