mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
UVRegion moved to 'maths'
This commit is contained in:
parent
521efe5c76
commit
f64a851a24
8 changed files with 11 additions and 14 deletions
|
|
@ -6,7 +6,7 @@
|
|||
#include <memory>
|
||||
#include <vector>
|
||||
#include <unordered_map>
|
||||
#include "UVRegion.h"
|
||||
#include "../../maths/UVRegion.h"
|
||||
#include "../../typedefs.h"
|
||||
|
||||
class ImageData;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
#include "UVRegion.h"
|
||||
#include "../../maths/UVRegion.h"
|
||||
|
||||
class Mesh;
|
||||
class Texture;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef GRAPHICS_CORE_BATCH3D_H_
|
||||
#define GRAPHICS_CORE_BATCH3D_H_
|
||||
|
||||
#include "UVRegion.h"
|
||||
#include "../../maths/UVRegion.h"
|
||||
#include "../../typedefs.h"
|
||||
|
||||
#include <memory>
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
#include "UVRegion.h"
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
#ifndef GRAPHICS_CORE_UVREGION_H_
|
||||
#define GRAPHICS_CORE_UVREGION_H_
|
||||
|
||||
class UVRegion {
|
||||
public:
|
||||
float u1;
|
||||
float v1;
|
||||
float u2;
|
||||
float v2;
|
||||
|
||||
UVRegion(float u1, float v1, float u2, float v2)
|
||||
: u1(u1), v1(v1), u2(u2), v2(v2){}
|
||||
|
||||
UVRegion() : u1(0.0f), v1(0.0f), u2(1.0f), v2(1.0f){}
|
||||
};
|
||||
|
||||
#endif // SRC_GRAPHICS_UVREGION_H_
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
#include <glm/glm.hpp>
|
||||
|
||||
#include "../core/Mesh.h"
|
||||
#include "../core/UVRegion.h"
|
||||
#include "../../maths/UVRegion.h"
|
||||
#include "../../constants.h"
|
||||
#include "../../content/Content.h"
|
||||
#include "../../voxels/Block.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue