Blender
V5.3
source
blender
geometry
GEO_mesh_primitive_uv_sphere.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9
#pragma once
10
11
#include <optional>
12
13
#include "
BLI_bounds_types.hh
"
14
#include "
BLI_math_vector_types.hh
"
15
#include "
BLI_string_ref.hh
"
16
17
namespace
blender
{
18
19
struct
Mesh
;
20
21
namespace
geometry
{
22
27
Bounds<float3>
calculate_bounds_radial_primitive
(
float
radius_top,
28
float
radius_bottom,
29
int
segments,
30
float
height);
31
32
Mesh
*
create_uv_sphere_mesh
(
float
radius,
33
int
segments,
34
int
rings,
35
std::optional<StringRef> uv_map_id);
36
37
}
// namespace geometry
38
}
// namespace blender
BLI_bounds_types.hh
BLI_math_vector_types.hh
BLI_string_ref.hh
blender::geometry
Definition
GEO_add_curves_on_mesh.hh:23
blender::geometry::create_uv_sphere_mesh
Mesh * create_uv_sphere_mesh(float radius, int segments, int rings, std::optional< StringRef > uv_map_id)
Definition
mesh_primitive_uv_sphere.cc:302
blender::geometry::calculate_bounds_radial_primitive
Bounds< float3 > calculate_bounds_radial_primitive(float radius_top, float radius_bottom, int segments, float height)
Definition
mesh_primitive_uv_sphere.cc:20
blender
BMesh Iterators.
Definition
ANIM_action.hh:30
blender::AttributeOwnerType::Mesh
@ Mesh
Definition
BKE_attribute.h:52
blender::Mesh
Definition
DNA_mesh_types.h:148
Generated on
for Blender by
doxygen
1.18.0