1
0
Fork 0

Update README.plib with clearer wording.

Fixed the == compare in point3d.hxx.
This commit is contained in:
curt 1999-06-01 21:01:03 +00:00
parent b25252a656
commit 5f000ddf80
2 changed files with 6 additions and 5 deletions

View 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)

View 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.