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
7namespace Object::Utils {
8
18Component::Mesh GeneratePlaneMesh(float width = 1.0f, float depth = 1.0f, uint32_t subdivisionsX = 1u,
19 uint32_t subdivisionsZ = 1u);
20
21} // namespace Object::Utils
Definition BoxGenerator.cpp:4
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