X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fmath%2Fsg_types.hxx;h=f413c26b58359eb66f13f00c6773132562e2bffd;hb=578af00b0d48100c540154f54293a1b77a0655fe;hp=0ffa2b76ba2fb155b32ff78eb9508192a2cbd405;hpb=dcb95d131bc6aef1abe25d1f415e309f06e52436;p=simgear.git diff --git a/simgear/math/sg_types.hxx b/simgear/math/sg_types.hxx index 0ffa2b76..f413c26b 100644 --- a/simgear/math/sg_types.hxx +++ b/simgear/math/sg_types.hxx @@ -35,13 +35,13 @@ #include -#include STL_STRING +#include #include -#include +class Point3D; -SG_USING_STD(vector); -SG_USING_STD(string); +using std::vector; +using std::string; /** STL vector list of ints */ typedef vector < int > int_list; @@ -63,25 +63,5 @@ typedef vector < string > string_list; typedef string_list::iterator string_list_iterator; typedef string_list::const_iterator const_string_list_iterator; - -/** - * Simple 2d point class where members can be accessed as x, dist, or lon - * and y, theta, or lat - */ -class point2d { -public: - union { - double x; - double dist; - double lon; - }; - union { - double y; - double theta; - double lat; - }; -}; - - #endif // _SG_TYPES_HXX