Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
PlaneGenerator.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
18
Component::Mesh
GeneratePlaneMesh
(
float
width = 1.0f,
float
depth = 1.0f, uint32_t subdivisionsX = 1u,
19
uint32_t subdivisionsZ = 1u);
20
21
}
// namespace Object::Utils
Mesh.hpp
Object::Utils
Definition
BoxGenerator.cpp:4
Object::Utils::GeneratePlaneMesh
Component::Mesh GeneratePlaneMesh(float width, float depth, uint32_t subdivisionsX, uint32_t subdivisionsZ)
Generate a plane mesh with specified width and depth.
Definition
PlaneGenerator.cpp:6
src
plugin
object
src
utils
PlaneGenerator.hpp
Generated by
1.16.1