this is not needed, now that we have signbit. ok sthen@

This commit is contained in:
martynas 2008-07-25 14:12:56 +00:00
parent fa35d4d121
commit 39101e7033
2 changed files with 2 additions and 12 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.41 2007/09/15 20:04:28 merdely Exp $
# $OpenBSD: Makefile,v 1.42 2008/07/25 14:12:56 martynas Exp $
COMMENT= Draw pictures of the earth textured by an image
DISTNAME= xplanet-1.2.0
PKGNAME= ${DISTNAME}p0
CATEGORIES= astro geo x11
MAINTAINER= Robert Nagy <robert@openbsd.org>

View File

@ -1,11 +0,0 @@
--- src/libprojection/ProjectionIcosagnomonic.cpp.orig Tue Jun 14 20:10:36 2005
+++ src/libprojection/ProjectionIcosagnomonic.cpp Thu May 3 14:49:44 2007
@@ -102,7 +102,7 @@ ProjectionIcosagnomonic::PointLL::sameSide(const Point
double dp1 = PointXYZ::dotP(cp, p1);
double dp2 = PointXYZ::dotP(cp, p2);
- return (signbit(dp1) == signbit(dp2) || fabs(dp1) < 1e-10);
+ return ((dp1 < 0.0) == (dp2 < 0.0) || fabs(dp1) < 1e-10);
}
bool