Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
SphereGenerator.hpp File Reference
#include "component/Mesh.hpp"
#include <cstdint>
#include <glm/glm.hpp>

Go to the source code of this file.

Namespaces

namespace  Object
namespace  Object::Utils

Functions

Component::Mesh Object::Utils::GenerateSphereMesh (float radius=0.5f, uint32_t segments=32u, uint32_t rings=16u)
 Generate a sphere mesh with specified radius and subdivisions.