![]() |
TAPs 0.7.7.3
|
00001 /****************************************************************************** 00002 TAPsCDFnsGlobalStuff.hpp 00003 ******************************************************************************/ 00007 /****************************************************************************** 00008 SUKITTI PUNAK (04/14/2010) 00009 UPDATE (05/01/2010) 00010 ******************************************************************************/ 00011 #ifndef TAPs_CD_FNS_GLOBAL_STUFF_HPP 00012 #define TAPs_CD_FNS_GLOBAL_STUFF_HPP 00013 00014 BEGIN_NAMESPACE_TAPs__CD__Fn 00015 //============================================================================= 00016 00017 // DEBUG 00018 float CDScaleForSphereBVWithTriangle = 0.025; 00019 float CDScaleForCylinderBVWithTriangle = 0.025; 00020 std::vector< Vector3<float> > ListOfContactPts; 00021 std::vector< Vector3<float> > ListOfForces; 00022 00023 Vector3<float> forceCentroid( 0, 0, 0.2 ); 00024 Vector3<float> finalForcePos( 0, 0, 0 ); 00025 Vector3<float> finalForce; 00026 00027 //Vector3<float> ConverseForce ( Vector3<float> const & force ); 00028 void CalFinalForce (); 00029 00030 #ifdef TAPs_DEBUG_CD_WITH_HETRI 00031 void DrawForces (); 00032 #endif//TAPs_DEBUG_CD_WITH_HETRI 00033 00034 //============================================================================= 00035 END_NAMESPACE_TAPs__CD__Fn 00036 //----------------------------------------------------------------------------- 00037 #include "TAPsCDFnsGlobalStuff.cpp" 00038 //----------------------------------------------------------------------------- 00039 #endif 00040 //34567890123456789012345678901234567890123456789012345678901234567890123456789 00041 //--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----