Cleanup: Remove unused function `uv_poly_copy_aspect`

This commit is contained in:
Chris Blackbourn 2022-08-03 09:51:55 +12:00
parent 18377c4f5e
commit fc1a53eb7b
2 changed files with 0 additions and 12 deletions

View File

@ -14,9 +14,6 @@ struct Scene;
struct SpaceImage;
struct wmOperatorType;
/* geometric utilities */
void uv_poly_copy_aspect(float uv_orig[][2], float uv[][2], float aspx, float aspy, int len);
/* find nearest */
typedef struct UvNearestHit {

View File

@ -189,15 +189,6 @@ void uvedit_live_unwrap_update(SpaceImage *sima, Scene *scene, Object *obedit)
/** \name Geometric Utilities
* \{ */
void uv_poly_copy_aspect(float uv_orig[][2], float uv[][2], float aspx, float aspy, int len)
{
int i;
for (i = 0; i < len; i++) {
uv[i][0] = uv_orig[i][0] * aspx;
uv[i][1] = uv_orig[i][1] * aspy;
}
}
bool ED_uvedit_minmax_multi(
const Scene *scene, Object **objects_edit, uint objects_len, float r_min[2], float r_max[2])
{