The only remaining code in source/blender that must be compiled as C is now datatoc generated code and the DNA defaults that use designated initializers. Pull Request: https://projects.blender.org/blender/blender/pulls/134469
35 lines
704 B
C
35 lines
704 B
C
/* SPDX-FileCopyrightText: 2016 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/** \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;
|