// // Filename : Geom.h // Author(s) : Sylvain Paris // Emmanuel Turquin // Stephane Grabli // Purpose : Vectors and Matrices (useful type definitions) // Date of creation : 20/05/2003 // /////////////////////////////////////////////////////////////////////////////// // // Copyright (C) : Please refer to the COPYRIGHT file distributed // with this source distribution. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // /////////////////////////////////////////////////////////////////////////////// #ifndef GEOM_H # define GEOM_H # include "VecMat.h" # include "../system/Precision.h" namespace Geometry { typedef VecMat::Vec2 Vec2u; typedef VecMat::Vec2 Vec2i; typedef VecMat::Vec2 Vec2f; typedef VecMat::Vec2 Vec2d; typedef VecMat::Vec2 Vec2r; typedef VecMat::Vec3 Vec3u; typedef VecMat::Vec3 Vec3i; typedef VecMat::Vec3 Vec3f; typedef VecMat::Vec3 Vec3d; typedef VecMat::Vec3 Vec3r; typedef VecMat::HVec3 HVec3u; typedef VecMat::HVec3 HVec3i; typedef VecMat::HVec3 HVec3f; typedef VecMat::HVec3 HVec3d; typedef VecMat::HVec3 HVec3r; typedef VecMat::SquareMatrix Matrix22u; typedef VecMat::SquareMatrix Matrix22i; typedef VecMat::SquareMatrix Matrix22f; typedef VecMat::SquareMatrix Matrix22d; typedef VecMat::SquareMatrix Matrix22r; typedef VecMat::SquareMatrix Matrix33u; typedef VecMat::SquareMatrix Matrix33i; typedef VecMat::SquareMatrix Matrix33f; typedef VecMat::SquareMatrix Matrix33d; typedef VecMat::SquareMatrix Matrix33r; typedef VecMat::SquareMatrix Matrix44u; typedef VecMat::SquareMatrix Matrix44i; typedef VecMat::SquareMatrix Matrix44f; typedef VecMat::SquareMatrix Matrix44d; typedef VecMat::SquareMatrix Matrix44r; } // end of namespace Geometry #endif // GEOM_H