X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fvector.h;h=e44137a583761f82bf6c19a61e6f18f586f7acd3;hb=b75fa84fd7f627c1c1a8b94e72169e88a3ad59af;hp=c46a77379047a74786b04a54b66ecb8edb018553;hpb=cc54c38609ee9745ad678e5e9b9d7d2912be9c95;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/vector.h b/synfig-core/trunk/src/synfig/vector.h index c46a773..e44137a 100644 --- a/synfig-core/trunk/src/synfig/vector.h +++ b/synfig-core/trunk/src/synfig/vector.h @@ -71,7 +71,7 @@ private: value_type _x, _y; public: - Vector() { }; + Vector(): _x(0.0), _y(0.0) { }; Vector(const value_type &x, const value_type &y):_x(x),_y(y) { }; bool is_valid()const { return !(isnan(_x) || isnan(_y)); }