~ubuntu-branches/ubuntu/trusty/blender/trusty-proposed

« back to all changes in this revision

Viewing changes to source/blender/freestyle/intern/geometry/Geom.h

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2013-08-14 10:43:49 UTC
  • mfrom: (14.2.19 sid)
  • Revision ID: package-import@ubuntu.com-20130814104349-t1d5mtwkphp12dyj
Tags: 2.68a-3
* Upload to unstable
* debian/: python3.3 Depends simplified
  - debian/control: python3.3 Depends dropped
    for blender-data package
  - 0001-blender_thumbnailer.patch refreshed
* debian/control: libavcodec b-dep versioning dropped

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 * ***** END GPL LICENSE BLOCK *****
 
19
 */
 
20
 
 
21
#ifndef __GEOM_H__
 
22
#define __GEOM_H__
 
23
 
 
24
/** \file blender/freestyle/intern/geometry/Geom.h
 
25
 *  \ingroup freestyle
 
26
 *  \brief Vectors and Matrices (useful type definitions)
 
27
 *  \author Sylvain Paris
 
28
 *  \author Emmanuel Turquin
 
29
 *  \author Stephane Grabli
 
30
 *  \date 20/05/2003
 
31
 */
 
32
 
 
33
#include "VecMat.h"
 
34
 
 
35
#include "../system/Precision.h"
 
36
 
 
37
namespace Freestyle {
 
38
 
 
39
namespace Geometry {
 
40
 
 
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;
 
46
 
 
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;
 
52
 
 
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;
 
58
 
 
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;
 
64
 
 
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;
 
70
 
 
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;
 
76
 
 
77
} // end of namespace Geometry
 
78
 
 
79
} /* namespace Freestyle */
 
80
 
 
81
#endif // __GEOM_H__