/dports/games/minetest/minetest-5.4.1/src/unittest/ |
H A D | test_collision.cpp | 50 aabb3f s(bx, by, bz, bx+1, by+1, bz+1); in testAxisAlignedCollision() 51 aabb3f m(bx-2, by, bz, bx-1, by+1, bz+1); in testAxisAlignedCollision() 58 aabb3f s(bx, by, bz, bx+1, by+1, bz+1); in testAxisAlignedCollision() 65 aabb3f s(bx, by, bz, bx+1, by+1, bz+1); in testAxisAlignedCollision() 72 aabb3f s(bx, by, bz, bx+1, by+1, bz+1); in testAxisAlignedCollision() 80 aabb3f s(bx, by, bz, bx+1, by+1, bz+1); in testAxisAlignedCollision() 90 aabb3f s(bx, by, bz, bx+1, by+1, bz+1); in testAxisAlignedCollision() 98 aabb3f s(bx, by, bz, bx+1, by+1, bz+1); in testAxisAlignedCollision() 105 aabb3f s(bx, by, bz, bx+1, by+1, bz+1); in testAxisAlignedCollision() 112 aabb3f s(bx, by, bz, bx+1, by+1, bz+1); in testAxisAlignedCollision() [all …]
|
H A D | test_activeobject.cpp | 48 virtual bool getCollisionBox(aabb3f *toset) const { return false; } in getCollisionBox() 49 virtual bool getSelectionBox(aabb3f *toset) const { return false; } in getSelectionBox()
|
/dports/games/minetest/minetest-5.4.1/src/ |
H A D | nodedef.h | 102 std::vector<aabb3f> fixed; 104 aabb3f wall_top; 105 aabb3f wall_bottom; 108 std::vector<aabb3f> connect_top; 109 std::vector<aabb3f> connect_bottom; 110 std::vector<aabb3f> connect_front; 111 std::vector<aabb3f> connect_left; 112 std::vector<aabb3f> connect_back; 113 std::vector<aabb3f> connect_right; 120 std::vector<aabb3f> disconnected; [all …]
|
H A D | collision.h | 69 f32 pos_max_d, const aabb3f &box_0, 80 const aabb3f &staticbox, const aabb3f &movingbox, 86 const std::vector<aabb3f> &staticboxes, 87 const aabb3f &movingbox,
|
H A D | object_properties.h | 36 aabb3f collisionbox = aabb3f(-0.5f, -0.5f, -0.5f, 0.5f, 0.5f, 0.5f); 37 aabb3f selectionbox = aabb3f(-0.5f, -0.5f, -0.5f, 0.5f, 0.5f, 0.5f);
|
H A D | collision.cpp | 42 const aabb3f &box) : in NearbyCollisionInfo() 52 const aabb3f &box) : in NearbyCollisionInfo() 66 aabb3f box; 91 const aabb3f &staticbox, const aabb3f &movingbox, in axisAlignedCollision() 96 aabb3f relbox( in axisAlignedCollision() 196 const aabb3f &movingbox, in wouldCollideWithCeiling() 336 std::vector<aabb3f> nodeboxes; in collisionMoveSimple() 417 aabb3f object_collisionbox; in collisionMoveSimple() 453 aabb3f movingbox = box_0; in collisionMoveSimple() 493 aabb3f stepbox = movingbox; in collisionMoveSimple() [all …]
|
H A D | mapnode.cpp | 237 const NodeDefManager *nodemgr, std::vector<aabb3f> *p_boxes, in transformNodeBox() 240 std::vector<aabb3f> &boxes = *p_boxes; in transformNodeBox() 243 const std::vector<aabb3f> &fixed = nodebox.fixed; in transformNodeBox() 247 for (aabb3f box : fixed) { in transformNodeBox() 405 aabb3f box = aabb3f(vertices[0]); in transformNodeBox() 453 for (std::vector<aabb3f>::const_iterator \ in transformNodeBox() 557 std::vector<aabb3f> *boxes, u8 neighbors) const in getNodeBoxes() 564 std::vector<aabb3f> *boxes, u8 neighbors) const in getCollisionBoxes() 574 std::vector<aabb3f> *boxes, u8 neighbors) const in getSelectionBoxes()
|
H A D | activeobject.h | 106 virtual bool getCollisionBox(aabb3f *toset) const = 0; 116 virtual bool getSelectionBox(aabb3f *toset) const = 0;
|
H A D | mapnode.h | 255 void getNodeBoxes(const NodeDefManager *nodemgr, std::vector<aabb3f> *boxes, 262 std::vector<aabb3f> *boxes, u8 neighbors = 0) const; 268 std::vector<aabb3f> *boxes, u8 neighbors = 0) const;
|
/dports/devel/ode/ode-0.13/GIMPACT/src/ |
H A D | gim_boxpruning.cpp | 38 aabbset->m_boxes = (aabb3f *)gim_alloc(sizeof(aabb3f)*count); in gim_aabbset_alloc() 71 aabb3f * paabb = aabbset->m_boxes; in gim_aabbset_calc_global_bound() 105 aabb3f * paabb = aabbset->m_boxes; in gim_aabbset_sort() 198 aabb3f * paabb = aabbset->m_boxes; in gim_aabbset_self_intersections_sorted() 201 aabb3f test_aabb; in gim_aabbset_self_intersections_sorted() 227 aabb3f * paabb = aabbset->m_boxes; in gim_aabbset_self_intersections_brute_force() 270 aabb3f test_aabb; in gim_aabbset_bipartite_intersections_sorted() 274 aabb3f int_abbb; in gim_aabbset_bipartite_intersections_sorted() 366 aabb3f int_abbb; in gim_aabbset_bipartite_intersections_brute_force() 484 aabb3f * paabb = aabbset->m_boxes; in gim_aabbset_box_collision() [all …]
|
/dports/games/freeminer/freeminer-0.4.10.4/src/ |
H A D | collision.h | 75 f32 pos_max_d, const aabb3f &box_0, 85 f32 pos_max_d, const aabb3f &box_0, 95 const aabb3f &staticbox, const aabb3f &movingbox, 101 const std::vector<aabb3f> &staticboxes, 102 const aabb3f &movingbox,
|
H A D | collision.cpp | 46 const aabb3f &staticbox, const aabb3f &movingbox, in axisAlignedCollision() 55 aabb3f relbox( in axisAlignedCollision() 159 const aabb3f &movingbox, in wouldCollideWithCeiling() 170 const aabb3f& staticbox = *i; in wouldCollideWithCeiling() 220 std::vector<aabb3f> cboxes; in collisionMoveSimple() 257 for(std::vector<aabb3f>::iterator in collisionMoveSimple() 261 aabb3f box = *i; in collisionMoveSimple() 274 aabb3f box = getNodeBox(p, BS); in collisionMoveSimple() 332 aabb3f object_collisionbox; in collisionMoveSimple() 384 aabb3f movingbox = box_0; in collisionMoveSimple() [all …]
|
H A D | mapnode.cpp | 162 static std::vector<aabb3f> transformNodeBox(const MapNode &n, in transformNodeBox() 165 std::vector<aabb3f> boxes; in transformNodeBox() 168 const std::vector<aabb3f> &fixed = nodebox.fixed; in transformNodeBox() 172 for(std::vector<aabb3f>::const_iterator in transformNodeBox() 176 aabb3f box = *i; in transformNodeBox() 338 aabb3f box = aabb3f(vertices[0]); in transformNodeBox() 350 boxes.push_back(aabb3f(-BS/2,-BS/2,-BS/2,BS/2,top,BS/2)); in transformNodeBox() 355 std::vector<aabb3f> MapNode::getNodeBoxes(INodeDefManager *nodemgr) const in getNodeBoxes() 361 std::vector<aabb3f> MapNode::getCollisionBoxes(INodeDefManager *nodemgr) const in getCollisionBoxes() 370 std::vector<aabb3f> MapNode::getSelectionBoxes(INodeDefManager *nodemgr) const in getSelectionBoxes()
|
H A D | test.cpp | 1410 aabb3f s(bx, by, bz, bx+1, by+1, bz+1); in Run() 1418 aabb3f s(bx, by, bz, bx+1, by+1, bz+1); in Run() 1425 aabb3f s(bx, by, bz, bx+1, by+1, bz+1); in Run() 1432 aabb3f s(bx, by, bz, bx+1, by+1, bz+1); in Run() 1440 aabb3f s(bx, by, bz, bx+1, by+1, bz+1); in Run() 1451 aabb3f s(bx, by, bz, bx+1, by+1, bz+1); in Run() 1459 aabb3f s(bx, by, bz, bx+1, by+1, bz+1); in Run() 1466 aabb3f s(bx, by, bz, bx+1, by+1, bz+1); in Run() 1473 aabb3f s(bx, by, bz, bx+1, by+1, bz+1); in Run() 1482 aabb3f s(bx, by, bz, bx+1, by+1, bz+1); in Run() [all …]
|
H A D | content_mapblock.cpp | 593 for(std::vector<aabb3f>::iterator in mapblock_mesh_generate_special() 597 aabb3f box = *i; in mapblock_mesh_generate_special() 1235 aabb3f( b, b,-a, a, a, a), // y+ in mapblock_mesh_generate_special() 1236 aabb3f(-a, b,-a,-b, a, a), // y+ in mapblock_mesh_generate_special() 1237 aabb3f( b,-a,-a, a,-b, a), // y- in mapblock_mesh_generate_special() 1238 aabb3f(-a,-a,-a,-b,-b, a), // y- in mapblock_mesh_generate_special() 1239 aabb3f( b,-a, b, a, a, a), // x+ in mapblock_mesh_generate_special() 1240 aabb3f( b,-a,-a, a, a,-b), // x+ in mapblock_mesh_generate_special() 1241 aabb3f(-a,-a, b,-b, a, a), // x- in mapblock_mesh_generate_special() 1339 aabb3f box; in mapblock_mesh_generate_special() [all …]
|
H A D | mapnode.h | 228 std::vector<aabb3f> getNodeBoxes(INodeDefManager *nodemgr) const; 233 std::vector<aabb3f> getSelectionBoxes(INodeDefManager *nodemgr) const; 238 std::vector<aabb3f> getCollisionBoxes(INodeDefManager *nodemgr) const;
|
/dports/games/minetest/minetest-5.4.1/src/client/ |
H A D | localplayer.h | 145 void setCollisionbox(const aabb3f &box) { m_collisionbox = box; } in setCollisionbox() 147 const aabb3f& getCollisionbox() const { return m_collisionbox; } in getCollisionbox() 176 aabb3f m_sneak_node_bb_top = aabb3f(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f); 200 aabb3f m_collisionbox = aabb3f(-BS * 0.30f, 0.0f, -BS * 0.30f, BS * 0.30f,
|
H A D | content_mapblock.cpp | 737 aabb3f( b, b, -a, a, a, a), // y+ in drawGlasslikeFramedNode() 738 aabb3f(-a, b, -a, -b, a, a), // y+ in drawGlasslikeFramedNode() 739 aabb3f( b, -a, -a, a, -b, a), // y- in drawGlasslikeFramedNode() 740 aabb3f(-a, -a, -a, -b, -b, a), // y- in drawGlasslikeFramedNode() 741 aabb3f( b, -a, b, a, a, a), // x+ in drawGlasslikeFramedNode() 742 aabb3f( b, -a, -a, a, a, -b), // x+ in drawGlasslikeFramedNode() 743 aabb3f(-a, -a, b, -b, a, a), // x- in drawGlasslikeFramedNode() 744 aabb3f(-a, -a, -a, -b, a, -b), // x- in drawGlasslikeFramedNode() 745 aabb3f(-a, b, b, a, a, a), // z+ in drawGlasslikeFramedNode() 746 aabb3f(-a, -a, b, a, -b, a), // z+ in drawGlasslikeFramedNode() [all …]
|
H A D | clouds.h | 53 virtual const aabb3f &getBoundingBox() const in getBoundingBox() 126 m_box = aabb3f(-BS * 1000000.0f, height_bs - BS * m_camera_offset.Y, -BS * 1000000.0f, in updateBox() 133 aabb3f m_box;
|
H A D | clientmap.h | 115 virtual const aabb3f &getBoundingBox() const in getBoundingBox() 138 aabb3f m_box = aabb3f(-BS * 1000000, -BS * 1000000, -BS * 1000000,
|
H A D | content_cao.h | 81 aabb3f m_selection_box = aabb3f(-BS/3.,-BS/3.,-BS/3., BS/3.,BS/3.,BS/3.); 160 bool getCollisionBox(aabb3f *toset) const; 164 virtual bool getSelectionBox(aabb3f *toset) const;
|
H A D | content_mapblock.h | 102 void drawCuboid(const aabb3f &box, TileSpec *tiles, int tilecount, 104 void generateCuboidTextureCoords(aabb3f const &box, f32 *coords); 105 void drawAutoLightedCuboid(aabb3f box, const f32 *txc = NULL,
|
H A D | particles.h | 49 virtual const aabb3f &getBoundingBox() const in getBoundingBox() 82 aabb3f m_box; 83 aabb3f m_collisionbox;
|
H A D | hud.h | 68 std::vector<aabb3f> *getSelectionBoxes() { return &m_selection_boxes; } in getSelectionBoxes() 115 std::vector<aabb3f> m_selection_boxes; 116 std::vector<aabb3f> m_halo_boxes;
|
/dports/devel/ode/ode-0.13/GIMPACT/include/GIMPACT/ |
H A D | gim_boxpruning.h | 65 aabb3f m_global_bound;//!< Global calculated bound of all boxes 66 aabb3f * m_boxes; 231 void gim_aabbset_box_collision(aabb3f *test_aabb, GIM_AABB_SET * aabbset, GDYNAMIC_ARRAY * collided…
|