Blender
V3.3
source
blender
makesdna
DNA_vec_types.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later
2
* Copyright 2001-2002 NaN Holding BV. All rights reserved. */
3
8
#pragma once
9
10
#ifdef __cplusplus
11
extern
"C"
{
12
#endif
13
14
/* types */
15
17
typedef
struct
vec2s
{
18
short
x
,
y
;
19
}
vec2s
;
20
22
typedef
struct
vec2f
{
23
float
x
,
y
;
24
}
vec2f
;
25
26
/* not used at the moment */
27
/*
28
typedef struct vec2i {
29
int x, y;
30
} vec2i;
31
32
typedef struct vec2d {
33
double x, y;
34
} vec2d;
35
36
typedef struct vec3i {
37
int x, y, z;
38
} vec3i;
39
*/
40
typedef
struct
vec3f
{
41
float
x
,
y
,
z
;
42
}
vec3f
;
43
/*
44
typedef struct vec3d {
45
double x, y, z;
46
} vec3d;
47
48
typedef struct vec4i {
49
int x, y, z, w;
50
} vec4i;
51
52
typedef struct vec4f {
53
float x, y, z, w;
54
} vec4f;
55
56
typedef struct vec4d {
57
double x, y, z, w;
58
} vec4d;
59
*/
60
62
typedef
struct
rcti
{
63
int
xmin
,
xmax
;
64
int
ymin
,
ymax
;
65
}
rcti
;
66
68
typedef
struct
rctf
{
69
float
xmin
,
xmax
;
70
float
ymin
,
ymax
;
71
}
rctf
;
72
74
typedef
struct
DualQuat
{
75
float
quat
[4];
76
float
trans
[4];
77
78
float
scale
[4][4];
79
float
scale_weight
;
80
}
DualQuat
;
81
82
#ifdef __cplusplus
83
}
84
#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:74
DualQuat::scale_weight
float scale_weight
Definition:
DNA_vec_types.h:79
DualQuat::scale
float scale[4][4]
Definition:
DNA_vec_types.h:78
DualQuat::quat
float quat[4]
Definition:
DNA_vec_types.h:75
DualQuat::trans
float trans[4]
Definition:
DNA_vec_types.h:76
rctf
Definition:
DNA_vec_types.h:68
rctf::xmax
float xmax
Definition:
DNA_vec_types.h:69
rctf::xmin
float xmin
Definition:
DNA_vec_types.h:69
rctf::ymax
float ymax
Definition:
DNA_vec_types.h:70
rctf::ymin
float ymin
Definition:
DNA_vec_types.h:70
rcti
Definition:
DNA_vec_types.h:62
rcti::ymin
int ymin
Definition:
DNA_vec_types.h:64
rcti::ymax
int ymax
Definition:
DNA_vec_types.h:64
rcti::xmin
int xmin
Definition:
DNA_vec_types.h:63
rcti::xmax
int xmax
Definition:
DNA_vec_types.h:63
vec2f
Definition:
DNA_vec_types.h:22
vec2f::x
float x
Definition:
DNA_vec_types.h:23
vec2f::y
float y
Definition:
DNA_vec_types.h:23
vec2s
Definition:
DNA_vec_types.h:17
vec2s::y
short y
Definition:
DNA_vec_types.h:18
vec2s::x
short x
Definition:
DNA_vec_types.h:18
vec3f
Definition:
DNA_vec_types.h:40
vec3f::x
float x
Definition:
DNA_vec_types.h:41
vec3f::z
float z
Definition:
DNA_vec_types.h:41
vec3f::y
float y
Definition:
DNA_vec_types.h:41
Generated on Sat Jul 27 2024 14:57:55 for Blender by
doxygen
1.9.1