Blender
V4.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
5
#pragma once
6
7
#include <optional>
8
9
#include "
BLI_bounds_types.hh
"
10
#include "
BLI_math_vector_types.hh
"
11
#include "
BLI_string_ref.hh
"
12
13
struct
Mesh
;
14
15
namespace
blender::geometry
{
16
21
Bounds<float3>
calculate_bounds_radial_primitive
(
float
radius_top,
22
float
radius_bottom,
23
int
segments,
24
float
height);
25
26
Mesh
*
create_uv_sphere_mesh
(
float
radius,
27
int
segments,
28
int
rings,
29
const
std::optional<StringRef> &uv_map_id);
30
31
}
// namespace blender::geometry
BLI_bounds_types.hh
BLI_math_vector_types.hh
BLI_string_ref.hh
blender::geometry
Definition
GEO_add_curves_on_mesh.hh:17
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:12
blender::geometry::create_uv_sphere_mesh
Mesh * create_uv_sphere_mesh(float radius, int segments, int rings, const std::optional< StringRef > &uv_map_id)
Definition
mesh_primitive_uv_sphere.cc:294
Mesh
Definition
DNA_mesh_types.h:56
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0