Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
CapsuleGenerator.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::GenerateCapsuleMesh (float radius=0.5f, float height=1.0f, uint32_t segments=32u, uint32_t heightSegments=4u)
 Generate a capsule mesh with given radius and cylinder height.