/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
D | Triangle.java | 51 private Vector3f pointa = new Vector3f(); field in Triangle 72 pointa.set(p1); in Triangle() 87 return pointa; in get() 98 return pointa; in get1() 119 pointa.set(point); in set() 139 pointa.set(x, y, z); in set() 151 pointa.set(v); in set1() 163 pointa.set(v1); in set() 174 center = new Vector3f(pointa); in calculateCenter() 176 center.set(pointa); in calculateCenter() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/ |
D | BIHTriangle.java | 40 private final Vector3f pointa = new Vector3f(); field in BIHTriangle 46 pointa.set(p1); in BIHTriangle() 49 center.set(pointa); in BIHTriangle() 54 return pointa; in get1() 71 … normal.subtractLocal(pointa).crossLocal(pointc.x-pointa.x, pointc.y-pointa.y, pointc.z-pointa.z); in getNormal() 79 case 0: v1 = pointa.x; v2 = pointb.x; v3 = pointc.x; break; in getExtreme() 80 case 1: v1 = pointa.y; v2 = pointb.y; v3 = pointc.y; break; in getExtreme() 81 case 2: v1 = pointa.z; v2 = pointb.z; v3 = pointc.z; break; in getExtreme()
|
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
D | OCTTriangle.java | 39 private final Vector3f pointa = new Vector3f(); field in OCTTriangle 46 pointa.set(p1); in OCTTriangle() 62 return pointa; in get1() 75 … normal.subtractLocal(pointa).crossLocal(pointc.x-pointa.x, pointc.y-pointa.y, pointc.z-pointa.z); in getNormal()
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/ |
D | gim_box_collision.h | 100 #define TEST_CROSS_EDGE_BOX_MCR(edge,absolute_edge,pointa,pointb,_extend,i_dir_0,i_dir_1,i_comp_0,i… argument 104 btScalar pmin = pointa[i_comp_0]*dir0 + pointa[i_comp_1]*dir1;\ 117 #define TEST_CROSS_EDGE_BOX_X_AXIS_MCR(edge,absolute_edge,pointa,pointb,_extend)\ argument 119 TEST_CROSS_EDGE_BOX_MCR(edge,absolute_edge,pointa,pointb,_extend,2,1,1,2);\ 122 #define TEST_CROSS_EDGE_BOX_Y_AXIS_MCR(edge,absolute_edge,pointa,pointb,_extend)\ argument 124 TEST_CROSS_EDGE_BOX_MCR(edge,absolute_edge,pointa,pointb,_extend,0,2,2,0);\ 127 #define TEST_CROSS_EDGE_BOX_Z_AXIS_MCR(edge,absolute_edge,pointa,pointb,_extend)\ argument 129 TEST_CROSS_EDGE_BOX_MCR(edge,absolute_edge,pointa,pointb,_extend,1,0,0,1);\
|
D | btBoxCollision.h | 119 #define TEST_CROSS_EDGE_BOX_MCR(edge,absolute_edge,pointa,pointb,_extend,i_dir_0,i_dir_1,i_comp_0,i… argument 123 btScalar pmin = pointa[i_comp_0]*dir0 + pointa[i_comp_1]*dir1;\ 136 #define TEST_CROSS_EDGE_BOX_X_AXIS_MCR(edge,absolute_edge,pointa,pointb,_extend)\ argument 138 TEST_CROSS_EDGE_BOX_MCR(edge,absolute_edge,pointa,pointb,_extend,2,1,1,2);\ 141 #define TEST_CROSS_EDGE_BOX_Y_AXIS_MCR(edge,absolute_edge,pointa,pointb,_extend)\ argument 143 TEST_CROSS_EDGE_BOX_MCR(edge,absolute_edge,pointa,pointb,_extend,0,2,2,0);\ 146 #define TEST_CROSS_EDGE_BOX_Z_AXIS_MCR(edge,absolute_edge,pointa,pointb,_extend)\ argument 148 TEST_CROSS_EDGE_BOX_MCR(edge,absolute_edge,pointa,pointb,_extend,1,0,0,1);\
|