20 :
x(scalar),
y(scalar),
w(scalar),
h(scalar)
24 Rect(
const T
x,
const T
y,
const T
w,
const T
h)
31 :
x((T)vec.
x),
y((T)vec.
y),
w(
w),
h(
h)
37 :
x((T)vec.
x),
y((T)vec.
y),
w((T)vec.z),
h(
h)
43 :
x((T)vec.
x),
y((T)vec.
y),
w((T)vec.z),
h((T)vec.
w)
49 :
x((T)rect.
x),
y((T)rect.
y),
w((T)rect.
w),
h((T)rect.
h)
102 return x == vec.
x &&
y == vec.
y &&
w == vec.
z &&
h == vec.
w;
107 return x != vec.
x ||
y != vec.
y ||
w != vec.
z ||
h != vec.
w;
112 return x == rect.
x &&
y == rect.
y &&
w == rect.
w &&
h == rect.
h;
117 return x != rect.
x ||
y != rect.
y ||
w != rect.
w ||
h != rect.
h;
#define EHS_LOG_INT(type, code, msg)
Definition Log.h:137
bool operator==(const Vec4< T > &vec)
Definition Rect.h:100
Rect(const T x, const T y, const T w, const T h)
Definition Rect.h:24
bool operator==(const Rect< T > &rect)
Definition Rect.h:110
bool operator!=(const Rect< T > &rect)
Definition Rect.h:115
T operator[](const UInt_64 index) const
Definition Rect.h:120
Rect(const T scalar=0)
Definition Rect.h:19
Rect< T > & operator=(const Rect< C > &rect)
Definition Rect.h:87
T & operator[](const UInt_64 index)
Definition Rect.h:138
UInt_64 x
Definition Rect.h:14
Rect(const Rect< C > &rect)
Definition Rect.h:48
Rect(const Vec4< C > &vec)
Definition Rect.h:42
Rect< T > & operator=(const Vec4< C > &vec)
Definition Rect.h:76
Vec2< T > GetPos() const
Definition Rect.h:161
UInt_64 y
Definition Rect.h:15
Rect< T > & operator=(const Vec2< C > &vec)
Definition Rect.h:54
bool operator!=(const Vec4< T > &vec)
Definition Rect.h:105
UInt_64 h
Definition Rect.h:17
UInt_64 w
Definition Rect.h:16
Rect(const Vec2< C > &vec, const T w=0, const T h=0)
Definition Rect.h:30
Rect(const Vec3< C > &vec, const T h=0)
Definition Rect.h:36
Vec2< T > GetScale() const
Definition Rect.h:166
Rect< T > & operator=(const Vec3< C > &vec)
Definition Rect.h:65
static Str< Char_8, UInt_64 > FromNum(const SInt_64 num)
Definition Str.h:1348
Rect< SInt_8 > Rect_s8
Definition Rect.h:182
Rect< UInt_8 > Rect_u8
Definition Rect.h:181
Rect< Int_16 > Rect_16
Definition Rect.h:180
Rect< double > Rect_d
Definition Rect.h:185
Rect< Int_64 > Rect_64
Definition Rect.h:174
Rect< SInt_64 > Rect_s64
Definition Rect.h:173
Rect< Int_32 > Rect_32
Definition Rect.h:177
Rect< UInt_64 > Rect_u64
Definition Rect.h:172
Rect< Int_8 > Rect_8
Definition Rect.h:183
Rect< float > Rect_f
Definition Rect.h:184
Rect< SInt_32 > Rect_s32
Definition Rect.h:176
Rect< UInt_16 > Rect_u16
Definition Rect.h:178
Rect< UInt_32 > Rect_u32
Definition Rect.h:175
Rect< SInt_16 > Rect_s16
Definition Rect.h:179