1
// Wild Magic Source Code
3
// http://www.geometrictools.com
4
// Copyright (c) 1998-2007
6
// This library is free software; you can redistribute it and/or modify it
7
// under the terms of the GNU Lesser General Public License as published by
8
// the Free Software Foundation; either version 2.1 of the License, or (at
9
// your option) any later version. The license is available for reading at
10
// either of the locations:
11
// http://www.gnu.org/copyleft/lgpl.html
12
// http://www.geometrictools.com/License/WildMagicLicense.pdf
13
// The license applies to versions 0 through 4 of Wild Magic.
15
// Version: 4.0.1 (2006/07/25)
17
#include "Wm4FoundationPCH.h"
18
#include "Wm4Vector2.h"
21
template<> const Vector2<float> Vector2<float>::ZERO(0.0f,0.0f);
22
template<> const Vector2<float> Vector2<float>::UNIT_X(1.0f,0.0f);
23
template<> const Vector2<float> Vector2<float>::UNIT_Y(0.0f,1.0f);
24
template<> const Vector2<float> Vector2<float>::ONE(1.0f,1.0f);
26
template<> const Vector2<double> Vector2<double>::ZERO(0.0,0.0);
27
template<> const Vector2<double> Vector2<double>::UNIT_X(1.0,0.0);
28
template<> const Vector2<double> Vector2<double>::UNIT_Y(0.0,1.0);
29
template<> const Vector2<double> Vector2<double>::ONE(1.0,1.0);