Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
Loading...
Searching...
No Matches
Primitives.hpp File Reference
#include "Mesh.hpp"

Go to the source code of this file.

Namespaces

namespace  Primitives
 Collection of helper functions for generating standard geometric primitive meshes.

Functions

Mesh Primitives::makeTriangle ()
 Creates a 2D triangle mesh.
Mesh Primitives::makeQuad ()
 Creates a 2D quad (square) mesh.
Mesh Primitives::makeCube ()
 Creates a 3D cube mesh.