1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-31 09:05:14 +01:00

Consistently initialize all stuff in constructor

This commit is contained in:
Martin Tůma 2024-01-05 00:20:05 +01:00
parent 07614a8f74
commit 866b2c27ca

View File

@ -9,7 +9,8 @@
class Ellipsoid class Ellipsoid
{ {
public: public:
Ellipsoid() : _radius(NAN), _flattening(NAN), _es(NAN), _b(NAN) {} Ellipsoid()
: _radius(NAN), _flattening(NAN), _es(NAN), _e2s(NAN), _b(NAN) {}
Ellipsoid(double radius, double flattening); Ellipsoid(double radius, double flattening);
double radius() const {return _radius;} double radius() const {return _radius;}