40 template<
typename Type>
43 template<
typename Type>
46 template<
typename Type>
53 template<
typename Type>
72 template<typename OtherType, typename std::enable_if_t<std::is_integral<Type>::value && !std::is_integral<OtherType>::value,
int> = 0>
75 template<typename OtherType, typename std::enable_if_t<!std::is_integral<Type>::value || std::is_integral<OtherType>::value,
int> = 0>
Size(const Vec2< int > &s)
Definition: size.h:181
Sizef(const Sizex< int > ©)
Definition: size.h:196
Sizef(const Vec2< float > &s)
Definition: size.h:194
Sizex< Type > operator/(const Type &s) const
Size / operator.
Definition: size.h:156
Sizex< Type > & operator/=(const Type &s)
Size /= operator.
Definition: size.h:132
Sizex< Type > operator-(const Type &s) const
Size - operator.
Definition: size.h:144
bool operator==(const Sizex< Type > &s) const
Size == Size operator (deep compare).
Definition: size.h:162
Sizex(Type width, Type height)
Constructs a size structure.
Definition: size.h:64
Sizex< Type > & operator-=(const Sizex< Type > &s)
Size -= Size operator.
Definition: size.h:96
Sized(const Sizex< float > ©)
Definition: size.h:210
Sizex< Type > operator*(const Type &s) const
Size * operator.
Definition: size.h:150
Sizex()
Constructs a size structure.
Definition: size.h:58
Sizef()
Definition: size.h:191
Sizex< Type > operator+(const Sizex< Type > &s) const
Size + Size operator.
Definition: size.h:102
Sized()
Definition: size.h:204
Sized(const Sizex< double > &s)
Definition: size.h:206
Sizex< Type > & operator+=(const Type &s)
Size += operator.
Definition: size.h:114
bool operator!=(const Sizex< Type > &s) const
Size != Size operator (deep compare).
Definition: size.h:168
Sizex< Type > operator+(const Type &s) const
Size + operator.
Definition: size.h:138
Sizef(float width, float height)
Definition: size.h:192
Sizef(const Sizex< double > ©)
Definition: size.h:197
2D (width,height) size structure - Double
Definition: size.h:201
Sizex< Type > operator-(const Sizex< Type > &s) const
Size - Size operator.
Definition: size.h:108
Sizef(const Sizex< float > &s)
Definition: size.h:193
2D vector
Definition: line.h:46
Size(const Sizex< double > ©)
Definition: size.h:184
Size(const Sizex< float > ©)
Definition: size.h:183
Sized(const Sizex< int > ©)
Definition: size.h:209
Size()
Definition: size.h:178
Sizex(const Sizex< OtherType > ©)
Definition: size.h:73
Size(const Sizex< int > &s)
Definition: size.h:180
Type height
Size height.
Definition: size.h:82
Sizex< Type > & operator*=(const Type &s)
Size *= operator.
Definition: size.h:126
2D (width,height) size structure - Integer
Definition: size.h:175
Sizex< Type > & operator+=(const Sizex< Type > &s)
Size += Size operator.
Definition: size.h:90
Sizex< Type > & operator-=(const Type &s)
Size -= operator.
Definition: size.h:120
4D vector
Definition: size.h:47
Sized(double width, double height)
Definition: size.h:205
Size(int width, int height)
Definition: size.h:179
2D (width,height) size structure.
Definition: size.h:54
Sized(const Vec2< double > &s)
Definition: size.h:207
Type width
Size width.
Definition: size.h:79
2D (width,height) size structure - Float
Definition: size.h:188