Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
ShapeGenerator.hpp
Go to the documentation of this file.
1
/**************************************************************************
2
* EngineSquared v0.1.1
3
*
4
* EngineSquared is a software package, part of the Engine² organization.
5
*
6
* This file is part of the EngineSquared project that is under MIT License.
7
* Copyright © 2025-present by @EngineSquared, All rights reserved.
8
*
9
* EngineSquared is a free software: you can redistribute it and/or modify
10
* it under the terms of the MIT License. See the project's LICENSE file for
11
* the full license text and details.
12
*
13
* @file ShapeGenerator.hpp
14
* @brief Utility functions to generate basic geometric shapes
15
*
16
* This file provides helper functions to create common 3D shapes like cubes,
17
* spheres, planes, etc. with proper vertices, normals, texture coordinates,
18
* and indices.
19
*
20
* Note: for compile efficiency, it is recommended to include only the specific
21
* shape generator headers you need instead of this umbrella header.
22
*
23
* @author @EngineSquared
24
* @version 0.1.1
25
* @date 2025-10-28
26
**************************************************************************/
27
28
#pragma once
29
30
#include "
component/Mesh.hpp
"
31
#include "
component/Transform.hpp
"
32
#include "
core/Core.hpp
"
33
#include "
entity/Entity.hpp
"
34
35
#include <glm/glm.hpp>
36
37
#include "
BoxGenerator.hpp
"
38
#include "
CapsuleGenerator.hpp
"
39
#include "
ClothGenerator.hpp
"
40
#include "
CubeGenerator.hpp
"
41
#include "
CylinderGenerator.hpp
"
42
#include "
JellyCubeGenerator.hpp
"
43
#include "
PlaneGenerator.hpp
"
44
#include "
RopeGenerator.hpp
"
45
#include "
SphereGenerator.hpp
"
46
#include "
WheelGenerator.hpp
"
BoxGenerator.hpp
CapsuleGenerator.hpp
ClothGenerator.hpp
Core.hpp
CubeGenerator.hpp
CylinderGenerator.hpp
Entity.hpp
JellyCubeGenerator.hpp
Mesh.hpp
PlaneGenerator.hpp
RopeGenerator.hpp
SphereGenerator.hpp
Transform.hpp
WheelGenerator.hpp
src
plugin
object
src
utils
ShapeGenerator.hpp
Generated by
1.16.1