Cleanup: Remove unnecessary references to BoundBox

Ongoing refactoring #96968 is working to reduce usage of this struct.
This commit is contained in:
Hans Goudey
2023-11-19 17:31:20 -05:00
parent bc61167d8e
commit 86cb5307ea
4 changed files with 3 additions and 4 deletions

View File

@@ -19,7 +19,6 @@ struct BMLoop;
struct BMPartialUpdate;
struct BMesh;
struct BMeshCalcTessellation_Params;
struct BoundBox;
struct Depsgraph;
struct Mesh;
struct Object;

View File

@@ -156,7 +156,7 @@ void SnapData::clip_planes_enable(SnapObjectContext *sctx,
bool SnapData::snap_boundbox(const float3 &min, const float3 &max)
{
/* In vertex and edges you need to get the pixel distance from ray to BoundBox,
/* In vertex and edges you need to get the pixel distance from ray to bounding box,
* see: #46099, #46816 */
#ifdef TEST_CLIPPLANES_IN_BOUNDBOX

View File

@@ -314,7 +314,7 @@ static bool raycastEditMesh(SnapCache_EditMesh *em_cache,
local_depth *= local_scale;
}
/* Test BoundBox */
/* Test bounding box */
/* was BKE_boundbox_ray_hit_check, see: cf6ca226fa58 */
if (!isect_ray_aabb_v3_simple(

View File

@@ -104,7 +104,7 @@ static bool raycastMesh(SnapObjectContext *sctx,
local_depth *= local_scale;
}
/* Test BoundBox */
/* Test bounding box */
if (ob_eval->data == me_eval) {
const Bounds<float3> bounds = *me_eval->bounds_min_max();
/* was BKE_boundbox_ray_hit_check, see: cf6ca226fa58 */