mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
world-wide commit to ruin everything
This commit is contained in:
parent
fbce36a05c
commit
8a073e4e8a
57 changed files with 1433 additions and 958 deletions
17
src/graphics/UVRegion.h
Normal file
17
src/graphics/UVRegion.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef SRC_GRAPHICS_UVREGION_H_
|
||||
#define SRC_GRAPHICS_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_ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue