Blender
V2.93
source
blender
makesdna
DNA_vec_types.h
Go to the documentation of this file.
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
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
17
* All rights reserved.
18
*/
19
24
#pragma once
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
30
/* types */
31
33
typedef
struct
vec2s
{
34
short
x
,
y
;
35
}
vec2s
;
36
38
typedef
struct
vec2f
{
39
float
x
,
y
;
40
}
vec2f
;
41
42
/* not used at the moment */
43
/*
44
typedef struct vec2i {
45
int x, y;
46
} vec2i;
47
48
typedef struct vec2d {
49
double x, y;
50
} vec2d;
51
52
typedef struct vec3i {
53
int x, y, z;
54
} vec3i;
55
*/
56
typedef
struct
vec3f
{
57
float
x
,
y
,
z
;
58
}
vec3f
;
59
/*
60
typedef struct vec3d {
61
double x, y, z;
62
} vec3d;
63
64
typedef struct vec4i {
65
int x, y, z, w;
66
} vec4i;
67
68
typedef struct vec4f {
69
float x, y, z, w;
70
} vec4f;
71
72
typedef struct vec4d {
73
double x, y, z, w;
74
} vec4d;
75
*/
76
78
typedef
struct
rcti
{
79
int
xmin
,
xmax
;
80
int
ymin
,
ymax
;
81
}
rcti
;
82
84
typedef
struct
rctf
{
85
float
xmin
,
xmax
;
86
float
ymin
,
ymax
;
87
}
rctf
;
88
90
typedef
struct
DualQuat
{
91
float
quat
[4];
92
float
trans
[4];
93
94
float
scale
[4][4];
95
float
scale_weight
;
96
}
DualQuat
;
97
98
#ifdef __cplusplus
99
}
100
#endif
rcti
struct rcti rcti
vec3f
struct vec3f vec3f
vec2s
struct vec2s vec2s
vec2f
struct vec2f vec2f
DualQuat
struct DualQuat DualQuat
rctf
struct rctf rctf
DualQuat
Definition:
DNA_vec_types.h:90
DualQuat::scale_weight
float scale_weight
Definition:
DNA_vec_types.h:95
DualQuat::scale
float scale[4][4]
Definition:
DNA_vec_types.h:94
DualQuat::quat
float quat[4]
Definition:
DNA_vec_types.h:91
DualQuat::trans
float trans[4]
Definition:
DNA_vec_types.h:92
rctf
Definition:
DNA_vec_types.h:84
rctf::xmax
float xmax
Definition:
DNA_vec_types.h:85
rctf::xmin
float xmin
Definition:
DNA_vec_types.h:85
rctf::ymax
float ymax
Definition:
DNA_vec_types.h:86
rctf::ymin
float ymin
Definition:
DNA_vec_types.h:86
rcti
Definition:
DNA_vec_types.h:78
rcti::ymin
int ymin
Definition:
DNA_vec_types.h:80
rcti::ymax
int ymax
Definition:
DNA_vec_types.h:80
rcti::xmin
int xmin
Definition:
DNA_vec_types.h:79
rcti::xmax
int xmax
Definition:
DNA_vec_types.h:79
vec2f
Definition:
DNA_vec_types.h:38
vec2f::x
float x
Definition:
DNA_vec_types.h:39
vec2f::y
float y
Definition:
DNA_vec_types.h:39
vec2s
Definition:
DNA_vec_types.h:33
vec2s::y
short y
Definition:
DNA_vec_types.h:34
vec2s::x
short x
Definition:
DNA_vec_types.h:34
vec3f
Definition:
DNA_vec_types.h:56
vec3f::x
float x
Definition:
DNA_vec_types.h:57
vec3f::z
float z
Definition:
DNA_vec_types.h:57
vec3f::y
float y
Definition:
DNA_vec_types.h:57
Generated on Tue Jan 31 2023 14:37:24 for Blender by
doxygen
1.9.1