Cleanup: Remove unused math min max utility
This has a friendlier multithreaded implementation in BLI_bounds.hh now.
This commit is contained in:
parent
772696a1a5
commit
8e535ee9b4
|
@ -670,11 +670,6 @@ void minmax_v4v4_v4(float min[4], float max[4], const float vec[4]);
|
|||
void minmax_v3v3_v3(float min[3], float max[3], const float vec[3]);
|
||||
void minmax_v2v2_v2(float min[2], float max[2], const float vec[2]);
|
||||
|
||||
void minmax_v3v3_v3_array(float r_min[3],
|
||||
float r_max[3],
|
||||
const float (*vec_arr)[3],
|
||||
int var_arr_num);
|
||||
|
||||
/** ensure \a v1 is \a dist from \a v2 */
|
||||
void dist_ensure_v3_v3fl(float v1[3], const float v2[3], float dist);
|
||||
void dist_ensure_v2_v2fl(float v1[2], const float v2[2], float dist);
|
||||
|
|
|
@ -904,16 +904,6 @@ void minmax_v2v2_v2(float min[2], float max[2], const float vec[2])
|
|||
}
|
||||
}
|
||||
|
||||
void minmax_v3v3_v3_array(float r_min[3],
|
||||
float r_max[3],
|
||||
const float (*vec_arr)[3],
|
||||
int var_arr_num)
|
||||
{
|
||||
while (var_arr_num--) {
|
||||
minmax_v3v3_v3(r_min, r_max, *vec_arr++);
|
||||
}
|
||||
}
|
||||
|
||||
void dist_ensure_v3_v3fl(float v1[3], const float v2[3], const float dist)
|
||||
{
|
||||
if (!equals_v3v3(v2, v1)) {
|
||||
|
|
Loading…
Reference in New Issue