Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

/ray/src/lib/numerics/3d/vector3.cc

Go to the documentation of this file.
00001 /*
00002  * lib/numerics/3d/vector3.cc
00003  * 
00004  * 3d vector template for 3D applications. 
00005  * 
00006  * Copyright (c) 2004 by Wolfgang Wieser ] wwieser (a) gmx <*> de [ 
00007  * 
00008  * This file may be distributed and/or modified under the terms of the 
00009  * GNU General Public License version 2 as published by the Free Software 
00010  * Foundation. (See COPYING.GPL for details.)
00011  * 
00012  * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00013  * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00014  * 
00015  */
00016 
00017 #include "vector3.h"
00018 
00019 namespace NUM   // numerics
00020 {
00021 
00022 // Initialize static members: 
00023 template<> const Vector3<dbl> Vector3<dbl>::UX(1,0,0);
00024 template<> const Vector3<dbl> Vector3<dbl>::UY(0,1,0);
00025 template<> const Vector3<dbl> Vector3<dbl>::UZ(0,0,1);
00026 template<> const Vector3<dbl> Vector3<dbl>::Null(0,0,0);
00027 
00028 // Initialize static members: 
00029 template<> const Vector3<flt> Vector3<flt>::UX(1,0,0);
00030 template<> const Vector3<flt> Vector3<flt>::UY(0,1,0);
00031 template<> const Vector3<flt> Vector3<flt>::UZ(0,0,1);
00032 template<> const Vector3<flt> Vector3<flt>::Null(0,0,0);
00033 
00034 }  // end of namespace NUM

Generated on Sat Feb 19 22:33:45 2005 for Ray by doxygen 1.3.5