Blender
V4.3
source
blender
editors
gizmo_library
gizmo_geometry.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2016 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
15
#pragma once
16
17
#include "
BLI_sys_types.h
"
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
23
typedef
struct
GizmoGeomInfo
{
24
int
nverts
;
25
int
ntris
;
26
const
float
(*
verts
)[3];
27
const
float
(*normals)[3];
28
const
ushort
*
indices
;
29
}
GizmoGeomInfo
;
30
31
/* arrow gizmo */
32
extern
GizmoGeomInfo
wm_gizmo_geom_data_arrow
;
33
34
/* cube gizmo */
35
extern
GizmoGeomInfo
wm_gizmo_geom_data_cube
;
36
37
/* dial gizmo */
38
extern
GizmoGeomInfo
wm_gizmo_geom_data_dial
;
39
40
#ifdef __cplusplus
41
}
42
#endif
BLI_sys_types.h
ushort
unsigned short ushort
Definition
BLI_sys_types.h:69
float
draw_view in_light_buf[] float
Definition
eevee_light_culling_info.hh:42
wm_gizmo_geom_data_arrow
GizmoGeomInfo wm_gizmo_geom_data_arrow
Definition
geom_arrow_gizmo.cc:54
wm_gizmo_geom_data_dial
GizmoGeomInfo wm_gizmo_geom_data_dial
Definition
geom_dial_gizmo.cc:273
GizmoGeomInfo
struct GizmoGeomInfo GizmoGeomInfo
wm_gizmo_geom_data_cube
GizmoGeomInfo wm_gizmo_geom_data_cube
Definition
geom_cube_gizmo.cc:38
GizmoGeomInfo
Definition
gizmo_geometry.h:23
GizmoGeomInfo::indices
const ushort * indices
Definition
gizmo_geometry.h:28
GizmoGeomInfo::nverts
int nverts
Definition
gizmo_geometry.h:24
GizmoGeomInfo::ntris
int ntris
Definition
gizmo_geometry.h:25
GizmoGeomInfo::verts
const float(* verts)[3]
Definition
gizmo_geometry.h:26
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0