Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
SphereGenerator.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
component/Mesh.hpp
"
4
#include <cstdint>
5
#include <glm/glm.hpp>
6
7
namespace
Object::Utils
{
8
19
Component::Mesh
GenerateSphereMesh
(
float
radius = 0.5f, uint32_t segments = 32u, uint32_t rings = 16u);
20
21
}
// namespace Object::Utils
Mesh.hpp
Object::Utils
Definition
BoxGenerator.cpp:4
Object::Utils::GenerateSphereMesh
Component::Mesh GenerateSphereMesh(float radius, uint32_t segments, uint32_t rings)
Generate a sphere mesh with specified radius and subdivisions.
Definition
SphereGenerator.cpp:6
src
plugin
object
src
utils
SphereGenerator.hpp
Generated by
1.16.1