Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

FVR/SimpleDefs.h

Go to the documentation of this file.
00001 #ifndef _FVR_SIMPLEDEFS_H_
00002 #define _FVR_SIMPLEDEFS_H_
00003 
00004 #include <math.h>
00005 
00006 #define TOLERANCE 0.0001
00007 #define SNAPTOZERO(t) ( ((t)>0.0f) ? ( ((t)<TOLERANCE) ? (0.0f)  \
00008                                                        : (t) )   \
00009                                    : ( ((t)>-TOLERANCE) ? (0.0f) \
00010                                                         : (t)) ) \
00011 
00012 #define ROOT_TWO  1.4142135623730950488016887242097
00013 
00014 #define OVER_3 0.33333333
00015 #define OVER_6 0.16666666
00016 #define OVER_12 0.0833333333
00017 #define OVER_2_3 0.6666666666
00018 
00019 #define t_data float
00020 #endif
00021 

Generated on Wed Dec 15 21:20:31 2004 for vuVolume by  doxygen 1.3.9.1