Go to the source code of this file.
|  | 
| #define | TEST_CROSS_EDGE_BOX_MCR(edge,  absolute_edge,  pointa,  pointb,  _extend,  i_dir_0,  i_dir_1,  i_comp_0,  i_comp_1) | 
|  | 
| #define | TEST_CROSS_EDGE_BOX_X_AXIS_MCR(edge,  absolute_edge,  pointa,  pointb,  _extend) | 
|  | 
| #define | TEST_CROSS_EDGE_BOX_Y_AXIS_MCR(edge,  absolute_edge,  pointa,  pointb,  _extend) | 
|  | 
| #define | TEST_CROSS_EDGE_BOX_Z_AXIS_MCR(edge,  absolute_edge,  pointa,  pointb,  _extend) | 
|  | 
| #define | BOX_PLANE_EPSILON   0.000001f | 
|  | 
- Author
- Francisco Leon Najera 
Definition in file gim_box_collision.h.
      
        
          | #define BOX_PLANE_EPSILON   0.000001f | 
      
 
 
      
        
          | #define TEST_CROSS_EDGE_BOX_MCR | ( |  | edge, | 
        
          |  |  |  | absolute_edge, | 
        
          |  |  |  | pointa, | 
        
          |  |  |  | pointb, | 
        
          |  |  |  | _extend, | 
        
          |  |  |  | i_dir_0, | 
        
          |  |  |  | i_dir_1, | 
        
          |  |  |  | i_comp_0, | 
        
          |  |  |  | i_comp_1 | 
        
          |  | ) |  |  | 
      
 
Value:{\
	btScalar pmin = pointa[i_comp_0]*dir0 + pointa[i_comp_1]*dir1;
\ 	btScalar pmax = pointb[i_comp_0]*dir0 + pointb[i_comp_1]*dir1;\
         if(pmin>pmax)\
        }\
        const 
btScalar abs_dir0 = absolute_edge[i_dir_0];\
        const 
btScalar abs_dir1 = absolute_edge[i_dir_1];\
        const 
btScalar rad = _extend[i_comp_0] * abs_dir0 + _extend[i_comp_1] * abs_dir1;\
        if(pmin>rad || -rad>pmax) return false;\
}\
#define GIM_SWAP_NUMBERS(a, b)
Swap numbers. 
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
Definition at line 100 of file gim_box_collision.h.
 
 
      
        
          | #define TEST_CROSS_EDGE_BOX_X_AXIS_MCR | ( |  | edge, | 
        
          |  |  |  | absolute_edge, | 
        
          |  |  |  | pointa, | 
        
          |  |  |  | pointb, | 
        
          |  |  |  | _extend | 
        
          |  | ) |  |  | 
      
 
Value:}\
#define TEST_CROSS_EDGE_BOX_MCR(edge, absolute_edge, pointa, pointb, _extend, i_dir_0, i_dir_1, i_comp_0, i_comp_1)
Definition at line 117 of file gim_box_collision.h.
 
 
      
        
          | #define TEST_CROSS_EDGE_BOX_Y_AXIS_MCR | ( |  | edge, | 
        
          |  |  |  | absolute_edge, | 
        
          |  |  |  | pointa, | 
        
          |  |  |  | pointb, | 
        
          |  |  |  | _extend | 
        
          |  | ) |  |  | 
      
 
Value:}\
#define TEST_CROSS_EDGE_BOX_MCR(edge, absolute_edge, pointa, pointb, _extend, i_dir_0, i_dir_1, i_comp_0, i_comp_1)
Definition at line 122 of file gim_box_collision.h.
 
 
      
        
          | #define TEST_CROSS_EDGE_BOX_Z_AXIS_MCR | ( |  | edge, | 
        
          |  |  |  | absolute_edge, | 
        
          |  |  |  | pointa, | 
        
          |  |  |  | pointb, | 
        
          |  |  |  | _extend | 
        
          |  | ) |  |  | 
      
 
Value:}\
#define TEST_CROSS_EDGE_BOX_MCR(edge, absolute_edge, pointa, pointb, _extend, i_dir_0, i_dir_1, i_comp_0, i_comp_1)
Definition at line 127 of file gim_box_collision.h.