blob: a8a52bbd3df2c8a3dac1deb5a39b36eeea02486b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/* SPDX-License-Identifier: GPL-2.0-or-later
* Copyright 2016 Blender Foundation. All rights reserved. */
/** \file
* \ingroup edgizmolib
*
* \name Gizmo Geometry
*
* \brief Prototypes for arrays defining the gizmo geometry.
* The actual definitions can be found in files usually
* called geom_xxx_gizmo.c
*/
#pragma once
#include "BLI_sys_types.h"
typedef struct GizmoGeomInfo {
int nverts;
int ntris;
const float (*verts)[3];
const float (*normals)[3];
const ushort *indices;
} GizmoGeomInfo;
/* arrow gizmo */
extern GizmoGeomInfo wm_gizmo_geom_data_arrow;
/* cube gizmo */
extern GizmoGeomInfo wm_gizmo_geom_data_cube;
/* dial gizmo */
extern GizmoGeomInfo wm_gizmo_geom_data_dial;
|