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
7
namespace
Object::Utils
{
8
20
Component::Mesh
GenerateWheelMesh
(
float
radius = 0.3f,
float
width = 0.2f, uint32_t segments = 24u);
21
22
}
// namespace Object::Utils
Mesh.hpp
Object::Utils
Definition
BoxGenerator.cpp:4
Object::Utils::GenerateWheelMesh
Component::Mesh GenerateWheelMesh(float radius, float width, uint32_t segments)
Generate a wheel mesh (cylinder oriented along the X axis).
Definition
WheelGenerator.cpp:7
src
plugin
object
src
utils
WheelGenerator.hpp
Generated by
1.16.1