Blender  V3.3
Variables
geom_cube_gizmo.c File Reference
#include "../gizmo_geometry.h"

Go to the source code of this file.

Variables

static const float verts [][3]
 
static const float normals [][3]
 
static const ushort indices []
 
GizmoGeomInfo wm_gizmo_geom_data_cube
 

Variable Documentation

◆ indices

const ushort indices[]
static
Initial value:
= {
1, 2, 3, 7, 6, 5, 4, 5, 1, 5, 6, 2, 2, 6, 7, 0, 3, 7,
0, 1, 3, 4, 7, 5, 0, 4, 1, 1, 5, 2, 3, 2, 7, 4, 0, 7,
}

Definition at line 32 of file geom_cube_gizmo.c.

◆ normals

const float normals[][3]
static
Initial value:
= {
{0.577349, 0.577349, -0.577349},
{0.577349, -0.577349, -0.577349},
{-0.577349, -0.577349, -0.577349},
{-0.577349, 0.577349, -0.577349},
{0.577349, 0.577349, 0.577349},
{0.577349, -0.577349, 0.577349},
{-0.577349, -0.577349, 0.577349},
{-0.577349, 0.577349, 0.577349},
}

Definition at line 21 of file geom_cube_gizmo.c.

◆ verts

const float verts[][3]
static
Initial value:
= {
{1.000000, 1.000000, -1.000000},
{1.000000, -1.000000, -1.000000},
{-1.000000, -1.000000, -1.000000},
{-1.000000, 1.000000, -1.000000},
{1.000000, 1.000000, 1.000000},
{0.999999, -1.000001, 1.000000},
{-1.000000, -1.000000, 1.000000},
{-1.000000, 1.000000, 1.000000},
}

Definition at line 10 of file geom_cube_gizmo.c.

◆ wm_gizmo_geom_data_cube

GizmoGeomInfo wm_gizmo_geom_data_cube
Initial value:
= {
.nverts = 8,
.ntris = 12,
.verts = verts,
.normals = normals,
.indices = indices,
}
static const ushort indices[]
static const float verts[][3]
static const float normals[][3]

Definition at line 37 of file geom_cube_gizmo.c.

Referenced by arrow_draw_geom(), and ED_gizmo_draw_preset_box().