UVRegion moved to 'maths'
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#ifndef MATHS_UVREGION_H_
|
||||
#define MATHS_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 // MATHS_UVREGION_H_
|
||||
Reference in New Issue
Block a user