Minor - bigcube generation + using shared model - V11.4.0

This commit is contained in:
2025-06-19 22:19:33 +02:00
parent f5331444cb
commit de16b97f8e
10 changed files with 219 additions and 185 deletions

View File

@@ -55,6 +55,8 @@ constexpr bool full_screen = false;
constexpr float screen_depth = 1000.0f;
constexpr float screen_near = 0.3f;
static std::map<std::string, std::shared_ptr<model_class>> g_model_cache;
struct input
{
bool key_left = false;
@@ -79,8 +81,7 @@ public:
render_texture_class* get_refraction_texture() const { return refraction_texture_; };
render_texture_class* get_reflection_texture() const { return reflection_texture_; };
void create_big_cube(int side_count);
void process_terrain_generation();
bool create_big_cube(int side_count);
virtual bool initialize(int, int, HWND, bool is_vulkan);
void shutdown();
virtual bool frame(input_class*);