mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
c139d54c7f
PR: 208845 Submitted by: dim Approved by: c47g@gmx.at (maintainer timeout)
14 lines
556 B
C++
14 lines
556 B
C++
--- lib/database/src/so/nodes/nurbs/clients/softsurfeval.c++.orig 2000-08-15 12:56:22 UTC
|
|
+++ lib/database/src/so/nodes/nurbs/clients/softsurfeval.c++
|
|
@@ -50,8 +50,8 @@
|
|
#include "softsurfeval.h"
|
|
#include "nurbsconsts.h"
|
|
|
|
-inline REAL abs( REAL x ) { return (x < 0.0) ? -x : x; }
|
|
-inline int equal( REAL x, REAL y ) { return (abs(x-y) < 1.0E-6) ? 1 : 0; }
|
|
+inline REAL absr( REAL x ) { return (x < 0.0) ? -x : x; }
|
|
+inline int equal( REAL x, REAL y ) { return (absr(x-y) < 1.0E-6) ? 1 : 0; }
|
|
|
|
_SoNurbsSurfaceEvaluator::~_SoNurbsSurfaceEvaluator()
|
|
{
|