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:
Diffstat (limited to 'source/blender/src/imagepaint.c')
-rw-r--r--source/blender/src/imagepaint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/imagepaint.c b/source/blender/src/imagepaint.c
index 09666f4819d..ede6679b9f5 100644
--- a/source/blender/src/imagepaint.c
+++ b/source/blender/src/imagepaint.c
@@ -1921,7 +1921,7 @@ static void rect_to_uvspace_persp(
}
/* This works as we need it to but we can save a few steps and not use it */
-
+#if 0
static float angle_2d_clockwise(const float p1[2], const float p2[2], const float p3[2])
{
float v1[2], v2[2];
@@ -1931,6 +1931,7 @@ static float angle_2d_clockwise(const float p1[2], const float p2[2], const floa
return -atan2(v1[0]*v2[1] - v1[1]*v2[0], v1[0]*v2[0]+v1[1]*v2[1]);
}
+#endif
#define ISECT_1 (1)
#define ISECT_2 (1<<1)