summaryrefslogtreecommitdiffstats
path: root/src/glu/sgi/libnurbs/nurbtess
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-12-23 16:11:10 -0800
committerVinson Lee <[email protected]>2009-12-23 16:11:10 -0800
commit6138145b350d9e58725b43162680b43904497ec8 (patch)
tree39b35722128a5afd62f1b64a9c0a20db81426e21 /src/glu/sgi/libnurbs/nurbtess
parent51dcea2aac08ed68b713de0a741c782d51a5b916 (diff)
glu/sgi: Silence compiler warnings.
Diffstat (limited to 'src/glu/sgi/libnurbs/nurbtess')
-rw-r--r--src/glu/sgi/libnurbs/nurbtess/partitionY.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glu/sgi/libnurbs/nurbtess/partitionY.cc b/src/glu/sgi/libnurbs/nurbtess/partitionY.cc
index 297c6299766..e097461ac5e 100644
--- a/src/glu/sgi/libnurbs/nurbtess/partitionY.cc
+++ b/src/glu/sgi/libnurbs/nurbtess/partitionY.cc
@@ -111,8 +111,8 @@ Int isCusp(directedLine *v)
else if(A[1] > B[1] && C[1] > B[1])
return 1;
- if(isAbove(v, v) && isAbove(v, v->getPrev()) ||
- isBelow(v, v) && isBelow(v, v->getPrev()))
+ if((isAbove(v, v) && isAbove(v, v->getPrev())) ||
+ (isBelow(v, v) && isBelow(v, v->getPrev())))
return 1;
else
return 0;