Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
CylinderGenerator.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::GenerateCylinderMesh (float radiusTop=0.5f, float radiusBottom=0.5f, float height=1.0f, uint32_t segments=32u, uint32_t heightSegments=1u)
 Generate a cylinder mesh with specified dimensions.