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/freestyle/intern/stroke/StrokeRep.cpp')
-rwxr-xr-xsource/blender/freestyle/intern/stroke/StrokeRep.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/stroke/StrokeRep.cpp b/source/blender/freestyle/intern/stroke/StrokeRep.cpp
index 18142233672..91f9d866c86 100755
--- a/source/blender/freestyle/intern/stroke/StrokeRep.cpp
+++ b/source/blender/freestyle/intern/stroke/StrokeRep.cpp
@@ -78,13 +78,13 @@ Strip::~Strip(){
#define MAX_RATIO_LENGTH_SINGU 2
#define HUGE_COORD 1e4
-bool notValid (Vec2r p)
+static bool notValid (Vec2r p)
{
return (p[0]!=p[0]) || (p[1]!=p[1]) || (fabs(p[0])>HUGE_COORD) || (fabs(p[1])>HUGE_COORD)
|| (p[0] <-HUGE_COORD) || (p[1]<-HUGE_COORD);
}
-real crossP(const Vec2r& A, const Vec2r& B){
+static real crossP(const Vec2r& A, const Vec2r& B){
return A[0]*B[1] - A[1]*B[0];
}