src/graphics moved to src/graphics/core

This commit is contained in:
MihailRis 2024-03-18 20:47:35 +03:00
parent ba762584a7
commit b56408a202
63 changed files with 156 additions and 147 deletions

View file

@ -0,0 +1,17 @@
#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_