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

20
ScopEngine/Runtime/Includes/Graphics/Enums.h git.filemode.normal_file
View File

@@ -0,0 +1,20 @@
#ifndef __SCOP_GRAPHICS_ENUMS__
#define __SCOP_GRAPHICS_ENUMS__
#include <cstddef>
namespace Scop
{
enum class CullMode
{
None = 0,
Back,
Front,
FrontAndBack,
EndEnum
};
constexpr std::size_t CullModeCount = static_cast<std::size_t>(CullMode::EndEnum);
}
#endif

View File

@@ -7,6 +7,7 @@
#include <Utils/NonOwningPtr.h>
#include <Graphics/Enums.h>
#include <Graphics/Actor.h>
#include <Graphics/Narrator.h>
#include <Graphics/Sprite.h>
@@ -23,6 +24,7 @@ namespace Scop
{
std::shared_ptr<Shader> fragment_shader;
std::shared_ptr<BaseCamera> camera;
CullMode culling;
bool render_3D_enabled = true;
bool render_2D_enabled = true;
bool render_skybox_enabled = true;