mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
update project includes format
This commit is contained in:
parent
6c4fb417c5
commit
f43cc93cd2
233 changed files with 1028 additions and 1028 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include "Texture.hpp"
|
||||
#include "ImageData.hpp"
|
||||
#include <maths/LMPacker.hpp>
|
||||
#include "maths/LMPacker.hpp"
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@
|
|||
#include <vector>
|
||||
#include <optional>
|
||||
#include <unordered_map>
|
||||
#include <maths/UVRegion.hpp>
|
||||
#include <typedefs.hpp>
|
||||
#include "maths/UVRegion.hpp"
|
||||
#include "typedefs.hpp"
|
||||
|
||||
class ImageData;
|
||||
class Texture;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#include "Mesh.hpp"
|
||||
#include "Texture.hpp"
|
||||
#include "gl_util.hpp"
|
||||
#include <maths/UVRegion.hpp>
|
||||
#include "maths/UVRegion.hpp"
|
||||
|
||||
#include <GL/glew.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#include <glm/glm.hpp>
|
||||
|
||||
#include "commons.hpp"
|
||||
#include <maths/UVRegion.hpp>
|
||||
#include "maths/UVRegion.hpp"
|
||||
|
||||
class Mesh;
|
||||
class Texture;
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
#include "Texture.hpp"
|
||||
|
||||
#include <GL/glew.h>
|
||||
#include <typedefs.hpp>
|
||||
#include <maths/UVRegion.hpp>
|
||||
#include "typedefs.hpp"
|
||||
#include "maths/UVRegion.hpp"
|
||||
|
||||
/// xyz, uv, rgba
|
||||
inline constexpr uint B3D_VERTEX_SIZE = 9;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef GRAPHICS_CORE_BATCH3D_HPP_
|
||||
#define GRAPHICS_CORE_BATCH3D_HPP_
|
||||
|
||||
#include <typedefs.hpp>
|
||||
#include "typedefs.hpp"
|
||||
#include "commons.hpp"
|
||||
|
||||
#include <memory>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include "Batch2D.hpp"
|
||||
#include "Framebuffer.hpp"
|
||||
#include <window/Window.hpp>
|
||||
#include "window/Window.hpp"
|
||||
|
||||
static void set_blend_mode(BlendMode mode) {
|
||||
switch (mode) {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include "commons.hpp"
|
||||
#include "Viewport.hpp"
|
||||
#include <typedefs.hpp>
|
||||
#include "typedefs.hpp"
|
||||
|
||||
class Batch2D;
|
||||
class Framebuffer;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <typedefs.hpp>
|
||||
#include "typedefs.hpp"
|
||||
|
||||
class Texture;
|
||||
class Batch2D;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef GRAPHICS_CORE_FRAMEBUFFER_HPP_
|
||||
#define GRAPHICS_CORE_FRAMEBUFFER_HPP_
|
||||
|
||||
#include <typedefs.hpp>
|
||||
#include "typedefs.hpp"
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef GRAPHICS_CORE_IMAGE_DATA_HPP_
|
||||
#define GRAPHICS_CORE_IMAGE_DATA_HPP_
|
||||
|
||||
#include <typedefs.hpp>
|
||||
#include "typedefs.hpp"
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#define GRAPHICS_CORE_MESH_HPP_
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <typedefs.hpp>
|
||||
#include "typedefs.hpp"
|
||||
|
||||
struct vattr {
|
||||
ubyte size;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
#include <GL/glew.h>
|
||||
#include <GLFW/glfw3.h>
|
||||
|
||||
#include <coders/GLSLExtension.hpp>
|
||||
#include "coders/GLSLExtension.hpp"
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef GRAPHICS_CORE_SHADER_HPP_
|
||||
#define GRAPHICS_CORE_SHADER_HPP_
|
||||
|
||||
#include <typedefs.hpp>
|
||||
#include "typedefs.hpp"
|
||||
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
#ifndef GRAPHICS_CORE_TEXTURE_HPP_
|
||||
#define GRAPHICS_CORE_TEXTURE_HPP_
|
||||
|
||||
#include <typedefs.hpp>
|
||||
#include <maths/UVRegion.hpp>
|
||||
#include "typedefs.hpp"
|
||||
#include "maths/UVRegion.hpp"
|
||||
#include "ImageData.hpp"
|
||||
|
||||
#include <memory>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef GRAPHICS_CORE_TEXTURE_ANIMATION_HPP_
|
||||
#define GRAPHICS_CORE_TEXTURE_ANIMATION_HPP_
|
||||
|
||||
#include <typedefs.hpp>
|
||||
#include "typedefs.hpp"
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
#include <vector>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
#include <typedefs.hpp>
|
||||
#include "typedefs.hpp"
|
||||
|
||||
class Viewport {
|
||||
uint width;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue