From: ehofman Date: Tue, 21 Feb 2006 09:48:33 +0000 (+0000) Subject: Declare specified functions, otherwise MIPSpro bails out. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1d8d203e9ee674140b21a7d6cdf483a9112632ab;p=simgear.git Declare specified functions, otherwise MIPSpro bails out. --- 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