Cleanup: Remove unnecessary references to BoundBox
Ongoing refactoring #96968 is working to reduce usage of this struct.
This commit is contained in:
@@ -19,7 +19,6 @@ struct BMLoop;
|
||||
struct BMPartialUpdate;
|
||||
struct BMesh;
|
||||
struct BMeshCalcTessellation_Params;
|
||||
struct BoundBox;
|
||||
struct Depsgraph;
|
||||
struct Mesh;
|
||||
struct Object;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user