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

Go to the source code of this file.

Variables

static float verts [][3]
 
static float normals [][3]
 
static ushort indices []
 
GizmoGeomInfo wm_gizmo_geom_data_arrow
 

Variable Documentation

◆ indices

ushort indices[]
static
Initial value:
= {
1, 3, 2, 3, 5, 4, 5, 7, 6, 7, 9, 8, 9, 11, 10, 11, 13, 12, 5, 18, 19, 15, 1,
0, 13, 15, 14, 6, 10, 14, 11, 21, 22, 7, 19, 20, 13, 22, 23, 3, 17, 18, 9, 20, 21, 15,
23, 16, 1, 16, 17, 23, 22, 24, 21, 20, 24, 19, 18, 24, 17, 16, 24, 16, 23, 24, 22, 21, 24,
20, 19, 24, 18, 17, 24, 0, 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 8, 8, 9, 10, 10, 11,
12, 7, 5, 19, 14, 15, 0, 12, 13, 14, 14, 0, 2, 2, 4, 6, 6, 8, 10, 10, 12, 14, 14,
2, 6, 13, 11, 22, 9, 7, 20, 15, 13, 23, 5, 3, 18, 11, 9, 21, 1, 15, 16, 3, 1, 17,
}

Definition at line 44 of file geom_arrow_gizmo.c.

◆ normals

float normals[][3]
static
Initial value:
= {
{0.000000, 0.776360, -0.630238}, {0.000000, 0.594348, -0.804163},
{0.548967, 0.548967, -0.630238}, {0.420270, 0.420270, -0.804163},
{0.776360, 0.000000, -0.630238}, {0.594378, 0.000000, -0.804163},
{0.548967, -0.548967, -0.630238}, {0.420270, -0.420270, -0.804163},
{0.000000, -0.776360, -0.630238}, {0.000000, -0.594378, -0.804163},
{-0.548967, -0.548967, -0.630238}, {-0.420270, -0.420270, -0.804163},
{-0.776360, 0.000000, -0.630238}, {-0.594378, 0.000000, -0.804163},
{-0.548967, 0.548967, -0.630238}, {-0.420270, 0.420270, -0.804163},
{0.000000, 0.843226, -0.537492}, {0.596271, 0.596271, -0.537492},
{0.843226, 0.000000, -0.537492}, {0.596271, -0.596271, -0.537492},
{0.000000, -0.843226, -0.537492}, {-0.596271, -0.596271, -0.537492},
{-0.843226, 0.000000, -0.537492}, {-0.596271, 0.596271, -0.537492},
{0.000000, 0.000000, 1.000000},
}

Definition at line 28 of file geom_arrow_gizmo.c.

◆ verts

float verts[][3]
static
Initial value:
= {
{-0.000000, 0.012320, 0.000000}, {-0.000000, 0.012320, 0.974306},
{0.008711, 0.008711, 0.000000}, {0.008711, 0.008711, 0.974306},
{0.012320, -0.000000, 0.000000}, {0.012320, -0.000000, 0.974306},
{0.008711, -0.008711, 0.000000}, {0.008711, -0.008711, 0.974306},
{-0.000000, -0.012320, 0.000000}, {-0.000000, -0.012320, 0.974306},
{-0.008711, -0.008711, 0.000000}, {-0.008711, -0.008711, 0.974306},
{-0.012320, 0.000000, 0.000000}, {-0.012320, 0.000000, 0.974306},
{-0.008711, 0.008711, 0.000000}, {-0.008711, 0.008711, 0.974306},
{0.000000, 0.072555, 0.974306}, {0.051304, 0.051304, 0.974306},
{0.072555, -0.000000, 0.974306}, {0.051304, -0.051304, 0.974306},
{-0.000000, -0.072555, 0.974306}, {-0.051304, -0.051304, 0.974306},
{-0.072555, 0.000000, 0.974306}, {-0.051304, 0.051304, 0.974306},
{0.000000, -0.000000, 1.268098},
}

Definition at line 12 of file geom_arrow_gizmo.c.

Referenced by _face_new(), Mesh::add_face_normals(), add_lfvector_lfvector(), add_lfvector_lfvectorS(), add_lfvectorS_lfvectorS(), add_poly(), BVHBuild::add_reference_triangles(), Mesh::add_undisplaced(), Mesh::add_vertex(), Mesh::add_vertex_normals(), Mesh::add_vertex_slow(), add_verts_to_dgroups(), angle_poly_v3(), Mesh::apply_transform(), area_poly_signed_v2(), area_poly_v2(), area_poly_v3(), area_quad_v3(), area_squared_poly_v2(), area_squared_poly_v3(), area_squared_quad_v3(), bevel_build_edge_polygons(), BKE_mesh_calc_islands_loop_poly_edgeseam(), BKE_mesh_calc_islands_loop_poly_uvmap(), BKE_mesh_validate_arrays(), BKE_pbvh_build_mesh(), BKE_pbvh_node_has_vert_with_normal_update_tag(), BKE_volume_grid_selection_surface(), BKE_volume_grid_wireframe(), BLI_bitmap_draw_2d_poly_v2i_n(), BLI_STATIC_ASSERT(), bm_edge_is_delimit(), BM_face_calc_tangent_auto(), BM_face_calc_tangent_edge_pair(), BM_face_copy(), BM_face_create(), bm_face_create_from_mpoly(), BM_face_verts_kill(), bm_log_vert_values_swap(), bm_log_verts_restore(), bm_log_verts_unmake(), BM_mesh_calc_edge_groups_as_arrays(), bm_mesh_copy_new_face(), BM_mesh_normals_update_with_partial_ex(), bm_vert_connect_pair(), BM_vert_tri_calc_tangent_edge(), BM_vert_tri_calc_tangent_edge_pair(), bm_vert_tri_find_unique_edge(), bmesh_find_doubles_common(), bmesh_kernel_vert_separate(), bmo_contextual_create_exec(), bmo_create_cube_exec(), bmo_edgeloop_fill_exec(), bmo_face_inset_individual(), bmo_join_triangles_exec(), bmo_offset_edgeloops_exec(), bmo_subdivide_edges_exec(), Mesh::Triangle::bounds_grow(), build_hull(), bvh_callback(), bvhtree_build_from_cloth(), bvhtree_update_from_cloth(), cage2d_draw_box_interaction(), blender::nodes::calculate_cone_vertices(), blender::nodes::node_geo_mesh_primitive_uv_sphere_cc::calculate_sphere_vertex_data(), blender::geometry::calculate_vertices(), ccgSubSurf__effectedFaceNeighbors(), blender::nodes::node_geo_curve_fill_cc::cdt_to_mesh(), circball_array_fill(), Mesh::clear(), cloth_apply_vgroup(), cloth_bend_poly_dir(), cloth_bvh_collision(), cloth_bvh_collision_is_active(), cloth_bvh_objcollisions_resolve(), cloth_bvh_selfcollision_is_active(), cloth_bvh_selfcollisions_resolve(), cloth_from_object(), cloth_get_pressure_weights(), cloth_make_rest_mesh(), cloth_setup_constraints(), cloth_shrink_factor(), cloth_solve_collisions(), cloth_spring_angle(), cloth_update_verts(), Mesh::compute_bounds(), compute_face_normal(), Mesh::Triangle::compute_normal(), Mesh::copy_center_to_motion_step(), cp_lfvector(), create_bfmatrix(), blender::nodes::node_geo_mesh_primitive_circle_cc::create_circle_mesh(), blender::nodes::create_cylinder_or_cone_mesh(), blender::nodes::create_grid_mesh(), create_lfvector(), blender::nodes::create_line_mesh(), GeometryExporter::create_normals(), blender::nodes::node_geo_mesh_primitive_uv_sphere_cc::create_uv_sphere_mesh(), GeometryExporter::createNormalsSource(), GeometryExporter::createVertsSource(), cross_poly_v2(), cross_poly_v3(), blender::bke::curve_to_mesh_sweep(), GeometryManager::displace(), do_step_cloth(), blender::io::alembic::ABCCurveWriter::do_write(), blender::io::alembic::ABCHairWriter::do_write(), dot_lfvector(), draw_poly_v2i_n__span_y_sort(), drw_volume_selection_surface_cb(), drw_volume_wireframe_cb(), blender::nodes::node_geo_duplicate_elements_cc::duplicate_edges(), blender::nodes::node_geo_duplicate_elements_cc::duplicate_faces(), ED_uvedit_selected_verts(), edbm_connect_vert_pair(), edbm_fill_grid_prepare(), edge_store_assign(), edge_store_from_mface_quad(), edge_store_from_mface_tri(), blender::geometry::edges_to_curve_point_indices(), envelope_bone_weighting(), GeometryExporter::export_key_mesh(), GenerateInitialVerticesIndexList(), genTangSpace(), get_selected_indices(), blender::io::usd::get_vertices(), blender::io::alembic::get_vertices(), getSurroundingVerts(), gizmo_primitive_draw_geom(), gpencil_add_verts_to_dgroups(), gpencil_buffer_add_point(), gpencil_buffer_add_stroke(), gpencil_sbuffer_stroke_ensure(), GPU_batch_create_ex(), GPU_batch_init_ex(), GPU_batch_tris_from_poly_2d_encoded(), GPU_batch_vertbuf_add_ex(), GPU_batch_vertbuf_has(), GPU_vertbuf_attr_fill(), GPU_vertbuf_attr_fill_stride(), GPU_vertbuf_attr_get_raw_data(), GPU_vertbuf_attr_set(), GPU_vertbuf_bind_as_ssbo(), GPU_vertbuf_bind_as_texture(), GPU_vertbuf_clear(), gpu_vertbuf_create_from_format(), GPU_vertbuf_create_with_format_ex(), GPU_vertbuf_data_alloc(), GPU_vertbuf_data_len_set(), GPU_vertbuf_data_resize(), GPU_vertbuf_discard(), GPU_vertbuf_get_data(), GPU_vertbuf_get_format(), GPU_vertbuf_get_status(), GPU_vertbuf_get_vertex_alloc(), GPU_vertbuf_get_vertex_len(), GPU_vertbuf_handle_ref_add(), GPU_vertbuf_handle_ref_remove(), GPU_vertbuf_init_build_on_device(), GPU_vertbuf_read(), GPU_vertbuf_steal_data(), GPU_vertbuf_tag_dirty(), GPU_vertbuf_unmap(), GPU_vertbuf_update_sub(), GPU_vertbuf_use(), GPU_vertbuf_vert_set(), GPU_vertbuf_wrap_handle(), heat_bone_weighting(), heat_ray_tree_create(), imm_drawcircball(), immBeginBatch(), init_lfvector(), is_poly_convex_v2(), isect_point_poly_v2(), isect_point_poly_v2_int(), mesh_calc_eigen_matrix(), mesh_flush_select_from_verts(), mesh_island_to_astar_graph(), mesh_island_to_astar_graph_edge_process(), blender::geometry::mesh_merge_by_distance_connected(), mesh_separate_arrays(), motion_triangle_intersect(), motion_triangle_point_from_uv(), motion_triangle_shader_setup(), motion_triangle_vertices(), motion_triangle_vertices_and_normals(), motion_triangle_verts_for_step(), Mesh::Triangle::motion_verts(), mul_lfvectorS(), NODE_DEFINE(), normal_poly_v3(), GeometryExporter::operator()(), Mesh::pack_normals(), Mesh::pack_patches(), Mesh::pack_verts(), partialvis_update_bmesh_verts(), pbvh_update_normals_clear_task_cb(), pbvh_update_normals_store_task_cb(), pbvh_vertex_iter_init(), poly_rotate_plane(), quad_1edge_split(), quad_2edge_split_fan(), quad_2edge_split_innervert(), quad_2edge_split_path(), quad_3edge_split(), quad_4edge_subdivide(), RB_shape_new_convex_hull(), remdoubles_createface(), Mesh::reserve_mesh(), Mesh::resize_mesh(), scanfill(), SCULPT_geodesic_mesh_create(), EdgeDice::set_vert(), shape_preset_init_trias_ex(), blender::nodes::node_geo_input_shortest_edge_paths_cc::shortest_paths(), SIM_cloth_solve(), SIM_cloth_solver_init(), SIM_cloth_solver_set_positions(), skin_fix_hole_no_good_verts(), skin_output_connections(), solidify_add_thickness(), BVHSpatialSplit::split_triangle_primitive(), sub_lfvector_lfvector(), sub_lfvector_lfvectorS(), submul_lfvectorS(), Mesh::tessellate(), tri_1edge_split(), tri_3edge_subdivide(), Mesh::Triangle::valid(), vert_array_face_normal_update(), vertbuf_alloc(), vertbuf_bind_gpu(), vertbuf_device_alloc(), vertbuf_update_data(), vertbuf_wrap_device_handle(), blender::gpu::Batch::verts_(), blender::gpu::GLBatch::verts_(), Mesh::Triangle::verts_for_step(), vgroup_fix(), view3d_preselect_mesh_edgering_update_verts_from_edge(), view3d_preselect_mesh_elem_update_from_vert(), wm_gizmo_vec_draw(), xml_read_mesh(), zero_lfvector(), and blender::meshintersect::CDTArrangement< Arith_t >::~CDTArrangement().

◆ wm_gizmo_geom_data_arrow

GizmoGeomInfo wm_gizmo_geom_data_arrow
Initial value:
= {
.nverts = 25,
.ntris = 46,
.verts = verts,
.normals = normals,
.indices = indices,
}
static ushort indices[]
static float verts[][3]
static float normals[][3]

Definition at line 53 of file geom_arrow_gizmo.c.

Referenced by arrow_draw_geom(), and ED_gizmo_draw_preset_arrow().