From 1d8d203e9ee674140b21a7d6cdf483a9112632ab Mon Sep 17 00:00:00 2001 From: ehofman Date: Tue, 21 Feb 2006 09:48:33 +0000 Subject: [PATCH] Declare specified functions, otherwise MIPSpro bails out. --- simgear/math/SGGeoc.hxx | 2 ++ simgear/math/SGGeod.hxx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/simgear/math/SGGeoc.hxx b/simgear/math/SGGeoc.hxx index 5b4f24cd..72af480c 100644 --- a/simgear/math/SGGeoc.hxx +++ b/simgear/math/SGGeoc.hxx @@ -34,6 +34,8 @@ public: /// Note that this conversion is relatively expensive to compute SGGeoc(const SGGeod& geod); + SGGeoc(const SGVec3& cart); + /// Factory from angular values in radians and radius in ft static SGGeoc fromRadFt(double lon, double lat, double radius); /// Factory from angular values in degrees and radius in ft diff --git a/simgear/math/SGGeod.hxx b/simgear/math/SGGeod.hxx index 0a913257..63d09935 100644 --- a/simgear/math/SGGeod.hxx +++ b/simgear/math/SGGeod.hxx @@ -34,6 +34,8 @@ public: /// Note that this conversion is relatively expensive to compute SGGeod(const SGGeoc& geoc); + SGGeod(const SGVec3& cart); + /// Factory from angular values in radians and elevation is 0 static SGGeod fromRad(double lon, double lat); /// Factory from angular values in degrees and elevation is 0 -- 2.39.5