From 9b60b862e58905780bf47f69a34522fde046ebea Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Tue, 27 Sep 2022 17:03:43 -0400 Subject: procedural chunk loading --- engine/xe_model.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/xe_model.hpp') diff --git a/engine/xe_model.hpp b/engine/xe_model.hpp index 1886657..b75576e 100644 --- a/engine/xe_model.hpp +++ b/engine/xe_model.hpp @@ -34,13 +34,13 @@ class Model { void loadModel(const std::string &filepath); }; - Model(Device &device, const Model::Builder &builder); + Model(const Model::Builder &builder); ~Model(); Model(const Model &) = delete; Model operator=(const Model &) = delete; - static Model* createModelFromFile(Device &device, const std::string &filepath); + static Model* createModelFromFile(const std::string &filepath); void bind(VkCommandBuffer commandBuffer); void draw(VkCommandBuffer commandBuffer); -- cgit v1.2.3-freya