Cleanup: Remove unused function, unused declaration
This commit is contained in:
parent
07a77816a1
commit
ebe32e01e1
|
@ -97,7 +97,6 @@ struct BoundBox *BKE_curve_boundbox_get(struct Object *ob);
|
|||
|
||||
void BKE_curve_texspace_calc(struct Curve *cu);
|
||||
void BKE_curve_texspace_ensure(struct Curve *cu);
|
||||
void BKE_curve_texspace_get(struct Curve *cu, float r_loc[3], float r_size[3]);
|
||||
|
||||
bool BKE_curve_minmax(struct Curve *cu, bool use_radius, float min[3], float max[3]);
|
||||
bool BKE_curve_center_median(struct Curve *cu, float cent[3]);
|
||||
|
|
|
@ -332,16 +332,6 @@ IDTypeInfo IDType_ID_CU = {
|
|||
.lib_override_apply_post = NULL,
|
||||
};
|
||||
|
||||
static int cu_isectLL(const float v1[3],
|
||||
const float v2[3],
|
||||
const float v3[3],
|
||||
const float v4[3],
|
||||
short cox,
|
||||
short coy,
|
||||
float *lambda,
|
||||
float *mu,
|
||||
float vec[3]);
|
||||
|
||||
/* frees editcurve entirely */
|
||||
void BKE_curve_editfont_free(Curve *cu)
|
||||
{
|
||||
|
@ -566,18 +556,6 @@ void BKE_curve_texspace_ensure(Curve *cu)
|
|||
}
|
||||
}
|
||||
|
||||
void BKE_curve_texspace_get(Curve *cu, float r_loc[3], float r_size[3])
|
||||
{
|
||||
BKE_curve_texspace_ensure(cu);
|
||||
|
||||
if (r_loc) {
|
||||
copy_v3_v3(r_loc, cu->loc);
|
||||
}
|
||||
if (r_size) {
|
||||
copy_v3_v3(r_size, cu->size);
|
||||
}
|
||||
}
|
||||
|
||||
bool BKE_nurbList_index_get_co(ListBase *nurb, const int index, float r_co[3])
|
||||
{
|
||||
int tot = 0;
|
||||
|
|
Loading…
Reference in New Issue