nothing actually done

This commit is contained in:
MihailRis
2024-04-24 07:35:46 +03:00
parent 051f0b8c6a
commit 1ecc608ead
19 changed files with 44 additions and 48 deletions
+3 -4
View File
@@ -1,7 +1,4 @@
#include "BlocksPreview.h"
#include <glm/ext.hpp>
#include "BlocksPreview.hpp"
#include "../../assets/Assets.h"
#include "../../constants.h"
#include "../../content/Content.h"
@@ -17,6 +14,8 @@
#include "../core/Texture.hpp"
#include "../core/Viewport.hpp"
#include <glm/ext.hpp>
std::unique_ptr<ImageData> BlocksPreview::draw(
const ContentGfxCache* cache,
Shader* shader,
@@ -1,5 +1,5 @@
#ifndef GRAPHICS_RENDER_BLOCKS_PREVIEW_H_
#define GRAPHICS_RENDER_BLOCKS_PREVIEW_H_
#ifndef GRAPHICS_RENDER_BLOCKS_PREVIEW_HPP_
#define GRAPHICS_RENDER_BLOCKS_PREVIEW_HPP_
#include "../../typedefs.h"
@@ -33,4 +33,4 @@ public:
);
};
#endif // GRAPHICS_RENDER_BLOCKS_PREVIEW_H_
#endif // GRAPHICS_RENDER_BLOCKS_PREVIEW_HPP_
+3 -4
View File
@@ -1,7 +1,4 @@
#include "BlocksRenderer.h"
#include <glm/glm.hpp>
#include "BlocksRenderer.hpp"
#include "../core/Mesh.hpp"
#include "../../maths/UVRegion.h"
#include "../../constants.h"
@@ -13,6 +10,8 @@
#include "../../lighting/Lightmap.h"
#include "../../frontend/ContentGfxCache.h"
#include <glm/glm.hpp>
using glm::ivec3;
using glm::vec3;
using glm::vec4;
@@ -1,5 +1,5 @@
#ifndef GRAPHICS_RENDER_BLOCKS_RENDERER_H
#define GRAPHICS_RENDER_BLOCKS_RENDERER_H
#ifndef GRAPHICS_RENDER_BLOCKS_RENDERER_HPP_
#define GRAPHICS_RENDER_BLOCKS_RENDERER_HPP_
#include <stdlib.h>
#include <vector>
@@ -99,4 +99,4 @@ public:
VoxelsVolume* getVoxelsBuffer() const;
};
#endif // GRAPHICS_RENDER_BLOCKS_RENDERER_H
#endif // GRAPHICS_RENDER_BLOCKS_RENDERER_HPP_
+2 -3
View File
@@ -1,10 +1,9 @@
#include "ChunksRenderer.h"
#include "ChunksRenderer.hpp"
#include "BlocksRenderer.hpp"
#include "../../debug/Logger.hpp"
#include "../../graphics/core/Mesh.hpp"
#include "../../voxels/Chunk.h"
#include "../../world/Level.h"
#include "BlocksRenderer.h"
#include <iostream>
#include <glm/glm.hpp>
@@ -1,5 +1,5 @@
#ifndef GRAPHICS_RENDER_CHUNKSRENDERER_H_
#define GRAPHICS_RENDER_CHUNKSRENDERER_H_
#ifndef GRAPHICS_RENDER_CHUNKSRENDERER_HPP_
#define GRAPHICS_RENDER_CHUNKSRENDERER_HPP_
#include <queue>
#include <memory>
@@ -47,4 +47,4 @@ public:
void update();
};
#endif // GRAPHICS_RENDER_CHUNKSRENDERER_H_
#endif // GRAPHICS_RENDER_CHUNKSRENDERER_HPP_
+5 -6
View File
@@ -1,9 +1,4 @@
#include "Skybox.h"
#include <iostream>
#include <GL/glew.h>
#include <glm/glm.hpp>
#include "Skybox.hpp"
#include "../../assets/Assets.h"
#include "../../graphics/core/Shader.hpp"
#include "../../graphics/core/Mesh.hpp"
@@ -15,6 +10,10 @@
#include "../../window/Window.h"
#include "../../window/Camera.h"
#include <iostream>
#include <GL/glew.h>
#include <glm/glm.hpp>
#ifndef M_PI
#define M_PI 3.141592
#endif // M_PI
@@ -1,5 +1,5 @@
#ifndef GRAPHICS_RENDER_SKYBOX_H_
#define GRAPHICS_RENDER_SKYBOX_H_
#ifndef GRAPHICS_RENDER_SKYBOX_HPP_
#define GRAPHICS_RENDER_SKYBOX_HPP_
#include <memory>
#include <string>
@@ -55,4 +55,4 @@ public:
}
};
#endif // GRAPHICS_RENDER_SKYBOX_H_
#endif // GRAPHICS_RENDER_SKYBOX_HPP_
+3 -5
View File
@@ -1,6 +1,6 @@
#include "WorldRenderer.h"
#include "WorldRenderer.hpp"
#include "ChunksRenderer.hpp"
#include "Skybox.hpp"
#include "../../assets/Assets.h"
#include "../../content/Content.h"
#include "../../engine.h"
@@ -29,8 +29,6 @@
#include "../core/PostProcessing.h"
#include "../core/Shader.hpp"
#include "../core/Texture.hpp"
#include "ChunksRenderer.h"
#include "Skybox.h"
#include <assert.h>
#include <GL/glew.h>
@@ -1,5 +1,5 @@
#ifndef GRAPHICS_RENDER_WORLD_RENDERER_H_
#define GRAPHICS_RENDER_WORLD_RENDERER_H_
#ifndef GRAPHICS_RENDER_WORLD_RENDERER_HPP_
#define GRAPHICS_RENDER_WORLD_RENDERER_HPP_
#include <vector>
#include <memory>
@@ -81,4 +81,4 @@ public:
};
#endif // GRAPHICS_RENDER_WORLD_RENDERER_H_
#endif // GRAPHICS_RENDER_WORLD_RENDERER_HPP_