Fix T66515, T67112, T61607: failure to read EXR files with single, named layer
[blender.git] / source / blender / collada / BlenderTypes.h
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  */
16
17 /** \file
18  * \ingroup collada
19  */
20
21 #ifndef __BLENDERTYPES_H__
22 #define __BLENDERTYPES_H__
23
24 typedef float(Vector)[3];
25 typedef float(Quat)[4];
26 typedef float(Color)[4];
27 typedef float(Matrix)[4][4];
28 typedef double(DMatrix)[4][4];
29
30 typedef enum BC_global_forward_axis {
31   BC_GLOBAL_FORWARD_X = 0,
32   BC_GLOBAL_FORWARD_Y = 1,
33   BC_GLOBAL_FORWARD_Z = 2,
34   BC_GLOBAL_FORWARD_MINUS_X = 3,
35   BC_GLOBAL_FORWARD_MINUS_Y = 4,
36   BC_GLOBAL_FORWARD_MINUS_Z = 5
37 } BC_global_forward_axis;
38
39 typedef enum BC_global_up_axis {
40   BC_GLOBAL_UP_X = 0,
41   BC_GLOBAL_UP_Y = 1,
42   BC_GLOBAL_UP_Z = 2,
43   BC_GLOBAL_UP_MINUS_X = 3,
44   BC_GLOBAL_UP_MINUS_Y = 4,
45   BC_GLOBAL_UP_MINUS_Z = 5
46 } BC_global_up_axis;
47
48 #endif