mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
final rename
This commit is contained in:
parent
1ecc608ead
commit
4ac8ea1ab3
14 changed files with 20 additions and 20 deletions
16
src/maths/UVRegion.hpp
Normal file
16
src/maths/UVRegion.hpp
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef MATHS_UVREGION_HPP_
|
||||
#define MATHS_UVREGION_HPP_
|
||||
|
||||
struct UVRegion {
|
||||
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 // MATHS_UVREGION_HPP_
|
||||
Loading…
Add table
Add a link
Reference in a new issue