Constants.h

00001 /****************************************************************************
00002  * Copyright 2006 Evan Drumwright
00003  * This library is distributed under the terms of the GNU General Public 
00004  * License (found in COPYING).
00005  ****************************************************************************/
00006 
00007 #ifndef _CONSTANTS_H
00008 #define _CONSTANTS_H
00009 
00010 #include <Physsim/Matrix3.h>
00011 #include <Physsim/Matrix4.h>
00012 #include <Physsim/SMatrix6.h>
00013 #include <Physsim/Vector3.h>
00014 #include <Physsim/SVector6.h>
00015 
00016 namespace Physsim {
00017 
00018 const Real NEAR_ZERO = 1e-8;    
00019 const Matrix3 IDENTITY_3x3 = MatrixNN::identity(3);
00020 const Matrix3 ZEROS_3x3 = MatrixNN::zero(3);
00021 const Matrix4 IDENTITY_4x4 = MatrixNN::identity(4);
00022 const SMatrix6 IDENTITY_6x6 = MatrixNN::identity(6);
00023 const SMatrix6 ZEROS_6x6 = MatrixNN::zero(6);
00024 const Vector3 ONES_3 = VectorN::one(3);
00025 const Vector3 ZEROS_3 = VectorN::zero(3);
00026 const SVector6 ZEROS_6 = VectorN::zero(6);
00027 
00028 }
00029 
00030 #endif

Generated on Wed Oct 24 14:54:21 2007 for Physsim by  doxygen 1.5.1