Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
WheelGenerator.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
20Component::Mesh GenerateWheelMesh(float radius = 0.3f, float width = 0.2f, uint32_t segments = 24u);
21
22} // namespace Object::Utils
Definition BoxGenerator.cpp:4
Component::Mesh GenerateWheelMesh(float radius, float width, uint32_t segments)
Generate a wheel mesh (cylinder oriented along the X axis).
Definition WheelGenerator.cpp:7