Searched refs:primitive_boxes (Results 1 – 8 of 8) sorted by relevance
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/ |
D | gim_box_set.cpp | 36 gim_array<GIM_AABB_DATA> & primitive_boxes, GUINT startIndex, GUINT endIndex) in _calc_splitting_axis() argument 46 btVector3 center = btScalar(0.5)*(primitive_boxes[i].m_bound.m_max + in _calc_splitting_axis() 47 primitive_boxes[i].m_bound.m_min); in _calc_splitting_axis() 54 btVector3 center = btScalar(0.5)*(primitive_boxes[i].m_bound.m_max + in _calc_splitting_axis() 55 primitive_boxes[i].m_bound.m_min); in _calc_splitting_axis() 67 gim_array<GIM_AABB_DATA> & primitive_boxes, GUINT startIndex, in _sort_and_calc_splitting_index() argument 78 splitValue+= 0.5f*(primitive_boxes[i].m_bound.m_max[splitAxis] + in _sort_and_calc_splitting_index() 79 primitive_boxes[i].m_bound.m_min[splitAxis]); in _sort_and_calc_splitting_index() 86 btScalar center = 0.5f*(primitive_boxes[i].m_bound.m_max[splitAxis] + in _sort_and_calc_splitting_index() 87 primitive_boxes[i].m_bound.m_min[splitAxis]); in _sort_and_calc_splitting_index() [all …]
|
D | btGImpactQuantizedBvh.cpp | 70 GIM_BVH_DATA_ARRAY & primitive_boxes, btScalar boundMargin) in calc_quantization() argument 76 for (int i=0;i<primitive_boxes.size() ;i++ ) in calc_quantization() 78 global_bound.merge(primitive_boxes[i].m_bound); in calc_quantization() 89 GIM_BVH_DATA_ARRAY & primitive_boxes, int startIndex, int endIndex) in _calc_splitting_axis() argument 100 btVector3 center = btScalar(0.5)*(primitive_boxes[i].m_bound.m_max + in _calc_splitting_axis() 101 primitive_boxes[i].m_bound.m_min); in _calc_splitting_axis() 108 btVector3 center = btScalar(0.5)*(primitive_boxes[i].m_bound.m_max + in _calc_splitting_axis() 109 primitive_boxes[i].m_bound.m_min); in _calc_splitting_axis() 121 GIM_BVH_DATA_ARRAY & primitive_boxes, int startIndex, in _sort_and_calc_splitting_index() argument 134 btVector3 center = btScalar(0.5)*(primitive_boxes[i].m_bound.m_max + in _sort_and_calc_splitting_index() [all …]
|
D | btGImpactBvh.cpp | 68 GIM_BVH_DATA_ARRAY & primitive_boxes, int startIndex, int endIndex) in _calc_splitting_axis() argument 79 btVector3 center = btScalar(0.5)*(primitive_boxes[i].m_bound.m_max + in _calc_splitting_axis() 80 primitive_boxes[i].m_bound.m_min); in _calc_splitting_axis() 87 btVector3 center = btScalar(0.5)*(primitive_boxes[i].m_bound.m_max + in _calc_splitting_axis() 88 primitive_boxes[i].m_bound.m_min); in _calc_splitting_axis() 100 GIM_BVH_DATA_ARRAY & primitive_boxes, int startIndex, in _sort_and_calc_splitting_index() argument 113 btVector3 center = btScalar(0.5)*(primitive_boxes[i].m_bound.m_max + in _sort_and_calc_splitting_index() 114 primitive_boxes[i].m_bound.m_min); in _sort_and_calc_splitting_index() 125 btVector3 center = btScalar(0.5)*(primitive_boxes[i].m_bound.m_max + in _sort_and_calc_splitting_index() 126 primitive_boxes[i].m_bound.m_min); in _sort_and_calc_splitting_index() [all …]
|
D | gim_box_set.h | 140 gim_array<GIM_AABB_DATA> & primitive_boxes, 143 …GUINT _calc_splitting_axis(gim_array<GIM_AABB_DATA> & primitive_boxes, GUINT startIndex, GUINT en… 145 …void _build_sub_tree(gim_array<GIM_AABB_DATA> & primitive_boxes, GUINT startIndex, GUINT endIndex… 154 void build_tree(gim_array<GIM_AABB_DATA> & primitive_boxes); 290 gim_array<GIM_AABB_DATA> primitive_boxes; in buildSet() local 291 primitive_boxes.resize(m_primitive_manager.get_primitive_count(),false); in buildSet() 293 for (GUINT i = 0;i<primitive_boxes.size() ;i++ ) in buildSet() 295 m_primitive_manager.get_primitive_box(i,primitive_boxes[i].m_bound); in buildSet() 296 primitive_boxes[i].m_data = i; in buildSet() 299 m_box_tree.build_tree(primitive_boxes); in buildSet()
|
D | btGImpactQuantizedBvh.h | 113 …void calc_quantization(GIM_BVH_DATA_ARRAY & primitive_boxes, btScalar boundMargin = btScalar(1.0) … 116 GIM_BVH_DATA_ARRAY & primitive_boxes, 119 int _calc_splitting_axis(GIM_BVH_DATA_ARRAY & primitive_boxes, int startIndex, int endIndex); 121 void _build_sub_tree(GIM_BVH_DATA_ARRAY & primitive_boxes, int startIndex, int endIndex); 130 void build_tree(GIM_BVH_DATA_ARRAY & primitive_boxes);
|
D | btGImpactBvh.h | 150 GIM_BVH_DATA_ARRAY & primitive_boxes, 153 int _calc_splitting_axis(GIM_BVH_DATA_ARRAY & primitive_boxes, int startIndex, int endIndex); 155 void _build_sub_tree(GIM_BVH_DATA_ARRAY & primitive_boxes, int startIndex, int endIndex); 164 void build_tree(GIM_BVH_DATA_ARRAY & primitive_boxes);
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/ |
D | btBvhTree.java | 65 public void build_tree(GIM_BVH_DATA_ARRAY primitive_boxes) { in build_tree() argument 66 …btBvhTree_build_tree(swigCPtr, this, GIM_BVH_DATA_ARRAY.getCPtr(primitive_boxes), primitive_boxes); in build_tree()
|
D | btQuantizedBvhTree.java | 65 public void build_tree(GIM_BVH_DATA_ARRAY primitive_boxes) { in build_tree() argument 66 …edBvhTree_build_tree(swigCPtr, this, GIM_BVH_DATA_ARRAY.getCPtr(primitive_boxes), primitive_boxes); in build_tree()
|