]> git.mxchange.org Git - flightgear.git/commitdiff
Update README.plib with clearer wording.
authorcurt <curt>
Tue, 1 Jun 1999 21:01:03 +0000 (21:01 +0000)
committercurt <curt>
Tue, 1 Jun 1999 21:01:03 +0000 (21:01 +0000)
Fixed the == compare in point3d.hxx.

Lib/Math/point3d.hxx
README.plib

index d677de8de37488b161e6d73ff1a572c78d0754d9..5e419a8033f63a9299b9941bc0d7eabaa5e57925 100644 (file)
@@ -295,9 +295,9 @@ inline Point3D operator / (const Point3D& a, const double d)
 inline bool operator == (const Point3D& a, const Point3D& b)
 {
     return
-       (a.n[PX] - b.n[PX]) < fgPoint3_Epsilon &&
-       (a.n[PY] - b.n[PY]) < fgPoint3_Epsilon &&
-       (a.n[PZ] - b.n[PZ]) < fgPoint3_Epsilon;
+       fabs(a.n[PX] - b.n[PX]) < fgPoint3_Epsilon &&
+       fabs(a.n[PY] - b.n[PY]) < fgPoint3_Epsilon &&
+       fabs(a.n[PZ] - b.n[PZ]) < fgPoint3_Epsilon;
 }
 
 inline bool operator != (const Point3D& a, const Point3D& b)
index ab2216274b5c38ab96686d92aa9ba9b1b8c6ddad..0bbf51cb954a9960eeb08bb19388ee61f7f090fd 100644 (file)
@@ -16,5 +16,6 @@ If you would prefer to install these in /usr/local/include/plib/ and
 
     ./configure --prefix=/usr/local --includedir=/usr/local/include/plib
 
-Installing like this makes it much easier for the fgfs configure script
-to locate the plib includes and libs.
+Installing into /usr/local/include/plib/ and /usr/local/lib makes it 
+possible for the fgfs configure script to automatically locate the plib 
+includes and libs.