tnlTypes.h File Reference
	
	
tnlTypes.h File Reference
#include <stdlib.h>
#include <new>
|  | 
| 
 Namespaces | 
| namespace | TNL | 
| 
 GeneralMath Math Helpers | 
| Some general numeric utility functions. 
 
 | 
| #define | DeclareTemplatizedMinMax(type) | 
| 
 Defines | 
| #define | NULL   0 | 
| #define | __EQUAL_CONST_F   F32(0.000001) | 
|  | Constant float epsilon used for F32 comparisons. 
 
 | 
| #define | BIT(x)   (1 << (x)) | 
Define Documentation
  
    | 
        
          | #define DeclareTemplatizedMinMax | ( | type |  | ) |  |  | 
  
    |  | 
Value: inline type getMin(type a, type b) { return a > b ? b : a; } \
 inline type getMax(type a, type b) { return a > b ? a : b; }
 | 
  
    | 
        
          | #define BIT | ( | x |  | ) | (1 << (x)) |  |