working on chunk generation

This commit is contained in:
Kbz-8
2025-05-09 18:29:41 +02:00
parent 332ef1fc41
commit 694009e6e4
10 changed files with 221 additions and 23 deletions

View File

@@ -17,6 +17,7 @@ namespace Scop
Vertex() = default;
Vertex(Vec4f p, Vec4f c, Vec4f n, Vec2f u) : position(std::move(p)), color(std::move(c)), normal(std::move(n)), uv(std::move(u)) {}
Vertex(Vec4f p, Vec4f n, Vec2f u) : position(std::move(p)), normal(std::move(n)), uv(std::move(u)) {}
[[nodiscard]] inline static VkVertexInputBindingDescription GetBindingDescription();
[[nodiscard]] inline static std::array<VkVertexInputAttributeDescription, 4> GetAttributeDescriptions();