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_engine.hpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'engine/xe_engine.hpp') diff --git a/engine/xe_engine.hpp b/engine/xe_engine.hpp index eff2d13..ae75afa 100644 --- a/engine/xe_engine.hpp +++ b/engine/xe_engine.hpp @@ -1,13 +1,12 @@ #pragma once +#include "xe_buffer.hpp" #include "xe_device.hpp" #include "xe_renderer.hpp" #include "xe_camera.hpp" #include "xe_descriptors.hpp" -#include "xe_image.hpp" #include "xe_input.hpp" #include "xe_sound.hpp" -#include "xe_model.hpp" #include #include @@ -30,11 +29,6 @@ class Engine { Input& getInput() {return xeInput;} Camera& getCamera() {return xeCamera;} - Device& getDevice() {return xeDevice;} - - Model* loadModelFromFile(const std::string &filename); - Model* loadModelFromData(std::vector vertexData, uint32_t vertexSize, std::vector indices); - Image* loadImageFromFile(const std::string &filename, bool anisotropic = true); bool beginFrame() { return xeRenderer.beginFrame(); } void endFrame() { xeRenderer.endFrame(); } @@ -63,6 +57,8 @@ class Engine { std::unique_ptr xeDescriptorPool; friend class RenderSystem; + friend class Image; + friend class Model; }; } \ No newline at end of file -- cgit v1.2.3-freya