Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-07-19 18:56:52 +0300
committerHans Goudey <h.goudey@me.com>2021-07-19 18:56:52 +0300
commitebe32e01e197070bb0215868e9ac7d858864de6c (patch)
tree5778f22a8bc06e0ba631cb12b4c4a54db35b06f7
parent07a77816a18018e844809580a40723702f40fdb9 (diff)
Cleanup: Remove unused function, unused declaration
-rw-r--r--source/blender/blenkernel/BKE_curve.h1
-rw-r--r--source/blender/blenkernel/intern/curve.c22
2 files changed, 0 insertions, 23 deletions
diff --git a/source/blender/blenkernel/BKE_curve.h b/source/blender/blenkernel/BKE_curve.h
index c7c5f59cab2..5e474c0c5ac 100644
--- a/source/blender/blenkernel/BKE_curve.h
+++ b/source/blender/blenkernel/BKE_curve.h
@@ -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]);
diff --git a/source/blender/blenkernel/intern/curve.c b/source/blender/blenkernel/intern/curve.c
index 24615dd8c2b..f1369254347 100644
--- a/source/blender/blenkernel/intern/curve.c
+++ b/source/blender/blenkernel/intern/curve.c
@@ -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;