[brlcad-commits] CVS: brlcad/src/other/openNURBS opennurbs_math.h, 1.2, 1.3 opennurbs_math.cpp, 1.2
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: jason o. <jl...@us...> - 2007-05-29 20:49:14
|
Update of /cvsroot/brlcad/brlcad/src/other/openNURBS In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14798/src/other/openNURBS Modified Files: opennurbs_math.h opennurbs_math.cpp Log Message: ws change and remove inline modifier (fix linking problems :-) Index: opennurbs_math.h =================================================================== RCS file: /cvsroot/brlcad/brlcad/src/other/openNURBS/opennurbs_math.h,v retrieving revision 1.2 retrieving revision 1.3 diff -w -u -r1.2 -r1.3 --- opennurbs_math.h 24 May 2007 16:17:34 -0000 1.2 +++ opennurbs_math.h 29 May 2007 20:49:13 -0000 1.3 @@ -1488,5 +1488,6 @@ ON_DECL int ON_Round(double x); -ON_DECL bool ON_NearZero(double x, double tolerance = ON_ZERO_TOLERANCE); +ON_DECL +bool ON_NearZero(double x, double tolerance = ON_ZERO_TOLERANCE); #endif Index: opennurbs_math.cpp =================================================================== RCS file: /cvsroot/brlcad/brlcad/src/other/openNURBS/opennurbs_math.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -w -u -r1.2 -r1.3 --- opennurbs_math.cpp 24 May 2007 16:17:34 -0000 1.2 +++ opennurbs_math.cpp 29 May 2007 20:49:13 -0000 1.3 @@ -4350,7 +4350,7 @@ return (x>=0.0) ? ((int)(x+0.5)) : -((int)(0.5-x)); } -inline bool +bool ON_NearZero(double x, double tolerance) { return (x > -tolerance) && (x < tolerance); } |