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
7namespace Object::Utils {
8
19Component::Mesh GenerateSphereMesh(float radius = 0.5f, uint32_t segments = 32u, uint32_t rings = 16u);
20
21} // namespace Object::Utils
Definition BoxGenerator.cpp:4
Component::Mesh GenerateSphereMesh(float radius, uint32_t segments, uint32_t rings)
Generate a sphere mesh with specified radius and subdivisions.
Definition SphereGenerator.cpp:6