OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * ***** BEGIN GPL LICENSE BLOCK ***** |
| 3 * |
| 4 * This program is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU General Public License |
| 6 * as published by the Free Software Foundation; either version 2 |
| 7 * of the License, or (at your option) any later version. |
| 8 * |
| 9 * This program is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 * GNU General Public License for more details. |
| 13 * |
| 14 * You should have received a copy of the GNU General Public License |
| 15 * along with this program; if not, write to the Free Software Foundation, |
| 16 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 17 * |
| 18 * The Original Code is Copyright (C) 2010 Blender Foundation. |
| 19 * All rights reserved. |
| 20 * |
| 21 * The Original Code is: all of this file. |
| 22 * |
| 23 * Contributor(s): none yet. |
| 24 * |
| 25 * ***** END GPL LICENSE BLOCK ***** |
| 26 */ |
| 27 |
| 28 #ifndef __GEOM_H__ |
| 29 #define __GEOM_H__ |
| 30 |
| 31 /** \file blender/freestyle/intern/geometry/Geom.h |
| 32 * \ingroup freestyle |
| 33 * \brief Vectors and Matrices (useful type definitions) |
| 34 * \author Sylvain Paris |
| 35 * \author Emmanuel Turquin |
| 36 * \author Stephane Grabli |
| 37 * \date 20/05/2003 |
| 38 */ |
| 39 |
| 40 #include "VecMat.h" |
| 41 |
| 42 #include "../system/Precision.h" |
| 43 |
| 44 namespace Geometry { |
| 45 |
| 46 typedef VecMat::Vec2<unsigned> Vec2u; |
| 47 typedef VecMat::Vec2<int> Vec2i; |
| 48 typedef VecMat::Vec2<float> Vec2f; |
| 49 typedef VecMat::Vec2<double> Vec2d; |
| 50 typedef VecMat::Vec2<real> Vec2r; |
| 51 |
| 52 typedef VecMat::Vec3<unsigned> Vec3u; |
| 53 typedef VecMat::Vec3<int> Vec3i; |
| 54 typedef VecMat::Vec3<float> Vec3f; |
| 55 typedef VecMat::Vec3<double> Vec3d; |
| 56 typedef VecMat::Vec3<real> Vec3r; |
| 57 |
| 58 typedef VecMat::HVec3<unsigned> HVec3u; |
| 59 typedef VecMat::HVec3<int> HVec3i; |
| 60 typedef VecMat::HVec3<float> HVec3f; |
| 61 typedef VecMat::HVec3<double> HVec3d; |
| 62 typedef VecMat::HVec3<real> HVec3r; |
| 63 |
| 64 typedef VecMat::SquareMatrix<unsigned, 2> Matrix22u; |
| 65 typedef VecMat::SquareMatrix<int, 2> Matrix22i; |
| 66 typedef VecMat::SquareMatrix<float, 2> Matrix22f; |
| 67 typedef VecMat::SquareMatrix<double, 2> Matrix22d; |
| 68 typedef VecMat::SquareMatrix<real, 2> Matrix22r; |
| 69 |
| 70 typedef VecMat::SquareMatrix<unsigned, 3> Matrix33u; |
| 71 typedef VecMat::SquareMatrix<int, 3> Matrix33i; |
| 72 typedef VecMat::SquareMatrix<float, 3> Matrix33f; |
| 73 typedef VecMat::SquareMatrix<double, 3> Matrix33d; |
| 74 typedef VecMat::SquareMatrix<real, 3> Matrix33r; |
| 75 |
| 76 typedef VecMat::SquareMatrix<unsigned, 4> Matrix44u; |
| 77 typedef VecMat::SquareMatrix<int, 4> Matrix44i; |
| 78 typedef VecMat::SquareMatrix<float, 4> Matrix44f; |
| 79 typedef VecMat::SquareMatrix<double, 4> Matrix44d; |
| 80 typedef VecMat::SquareMatrix<real, 4> Matrix44r; |
| 81 |
| 82 } // end of namespace Geometry |
| 83 |
| 84 #endif // __GEOM_H__ |
OLD | NEW |