summaryrefslogtreecommitdiff
path: root/graphics/inventor/files/patch-ccw.c++
blob: 4ab1bbe6909b038d4db61baacee0cd0c4a8e57c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- lib/database/src/so/nodes/nurbs/libnurbs/ccw.c++.orig	2000-08-15 12:56:22 UTC
+++ lib/database/src/so/nodes/nurbs/libnurbs/ccw.c++
@@ -508,6 +508,6 @@ int
 Subdivider::ccw( TrimVertex *a, TrimVertex *b, TrimVertex *c )
 {
     REAL d = det3( a, b, c );
-    if( abs(d) < 0.0001 ) return -1;
+    if( absr(d) < 0.0001 ) return -1;
     return (d < 0.0) ? 0 : 1;
 }