Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

phyztype.h

00001 #ifndef PHYZTYPE_H
00002 #define PHYZTYPE_H
00003 
00004 typedef double real;
00005 typedef double coord;
00006 typedef float ctangle;
00007 
00008 const double M_PER_WORLDUNIT = 1.0f;
00009 
00010 #define DEFAULT_AIR_RESISTANCE  0.25L   // 2.5 is ok for bigger stuff
00011 #define DEFAULT_JOINT_FRICTION  0.04f //40.0L //40.0L  // 40 is nice 
00012 
00013 // physical constants
00014 #define PHYZ_CONSTANT_G         6.67e-11 * M_PER_WORLDUNIT * M_PER_WORLDUNIT
00015 
00016 // smallest time slice for ODE
00017 #define TIME_EPSILON 0.001f
00018 
00019 #define MIN_REAL 0.000000001f
00020 #define MAX_REAL 100000000.0f
00021 
00022 
00023 
00024 /*class csMatrix3;
00025 class csVector3;
00026 
00027 #define ctVector3 csVector3
00028 #define ctMatrix3 csMatrix3
00029 */
00030 
00031 //#define ctVector3 ctVector3
00032 //#define ctMatrix3 ctMatrix3
00033 
00034 #endif

Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000