X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=lib%2Fmath%2Fvector.cpp;h=66a8352ab65ae7e3e29700782cb41da13cb97a5d;hb=b51665e5a1fdd19972691cfe1c33f108ad97e727;hp=2901e3569386542ee3633398198c3169c12b15c3;hpb=9c511ea692d3a2339597211f08f18ea74fad35ec;p=supertux.git diff --git a/lib/math/vector.cpp b/lib/math/vector.cpp index 2901e3569..66a8352ab 100644 --- a/lib/math/vector.cpp +++ b/lib/math/vector.cpp @@ -17,10 +17,14 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#include + #include #include "math/vector.h" +using namespace SuperTux; + Vector Vector::unit() const { return *this / norm();