2
* ***** BEGIN GPL LICENSE BLOCK *****
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.
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.
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.
18
* ***** END GPL LICENSE BLOCK *****
24
/** \file blender/freestyle/intern/geometry/Geom.h
26
* \brief Vectors and Matrices (useful type definitions)
27
* \author Sylvain Paris
28
* \author Emmanuel Turquin
29
* \author Stephane Grabli
35
#include "../system/Precision.h"
41
typedef VecMat::Vec2<unsigned> Vec2u;
42
typedef VecMat::Vec2<int> Vec2i;
43
typedef VecMat::Vec2<float> Vec2f;
44
typedef VecMat::Vec2<double> Vec2d;
45
typedef VecMat::Vec2<real> Vec2r;
47
typedef VecMat::Vec3<unsigned> Vec3u;
48
typedef VecMat::Vec3<int> Vec3i;
49
typedef VecMat::Vec3<float> Vec3f;
50
typedef VecMat::Vec3<double> Vec3d;
51
typedef VecMat::Vec3<real> Vec3r;
53
typedef VecMat::HVec3<unsigned> HVec3u;
54
typedef VecMat::HVec3<int> HVec3i;
55
typedef VecMat::HVec3<float> HVec3f;
56
typedef VecMat::HVec3<double> HVec3d;
57
typedef VecMat::HVec3<real> HVec3r;
59
typedef VecMat::SquareMatrix<unsigned, 2> Matrix22u;
60
typedef VecMat::SquareMatrix<int, 2> Matrix22i;
61
typedef VecMat::SquareMatrix<float, 2> Matrix22f;
62
typedef VecMat::SquareMatrix<double, 2> Matrix22d;
63
typedef VecMat::SquareMatrix<real, 2> Matrix22r;
65
typedef VecMat::SquareMatrix<unsigned, 3> Matrix33u;
66
typedef VecMat::SquareMatrix<int, 3> Matrix33i;
67
typedef VecMat::SquareMatrix<float, 3> Matrix33f;
68
typedef VecMat::SquareMatrix<double, 3> Matrix33d;
69
typedef VecMat::SquareMatrix<real, 3> Matrix33r;
71
typedef VecMat::SquareMatrix<unsigned, 4> Matrix44u;
72
typedef VecMat::SquareMatrix<int, 4> Matrix44i;
73
typedef VecMat::SquareMatrix<float, 4> Matrix44f;
74
typedef VecMat::SquareMatrix<double, 4> Matrix44d;
75
typedef VecMat::SquareMatrix<real, 4> Matrix44r;
77
} // end of namespace Geometry
79
} /* namespace Freestyle */