00001 // Wild Magic Source Code 00002 // David Eberly 00003 // http://www.geometrictools.com 00004 // Copyright (c) 1998-2007 00005 // 00006 // This library is free software; you can redistribute it and/or modify it 00007 // under the terms of the GNU Lesser General Public License as published by 00008 // the Free Software Foundation; either version 2.1 of the License, or (at 00009 // your option) any later version. The license is available for reading at 00010 // either of the locations: 00011 // http://www.gnu.org/copyleft/lgpl.html 00012 // http://www.geometrictools.com/License/WildMagicLicense.pdf 00013 // The license applies to versions 0 through 4 of Wild Magic. 00014 // 00015 // Version: 4.0.1 (2006/07/25) 00016 00017 #include "Wm4FoundationPCH.h" 00018 #include "Wm4Vector2.h" 00019 using namespace Wm4; 00020 00021 template<> const Vector2<float> Vector2<float>::ZERO(0.0f,0.0f); 00022 template<> const Vector2<float> Vector2<float>::UNIT_X(1.0f,0.0f); 00023 template<> const Vector2<float> Vector2<float>::UNIT_Y(0.0f,1.0f); 00024 template<> const Vector2<float> Vector2<float>::ONE(1.0f,1.0f); 00025 00026 template<> const Vector2<double> Vector2<double>::ZERO(0.0,0.0); 00027 template<> const Vector2<double> Vector2<double>::UNIT_X(1.0,0.0); 00028 template<> const Vector2<double> Vector2<double>::UNIT_Y(0.0,1.0); 00029 template<> const Vector2<double> Vector2<double>::ONE(1.0,1.0); 00030