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>
2D (width,height) size structure - Integer
Definition size.h:176
Size(int width, int height)
Definition size.h:179
Size(const Sizex< float > ©)
Definition size.h:183
Size(const Vec2< int > &s)
Definition size.h:181
Size(const Sizex< double > ©)
Definition size.h:184
Size(const Sizex< int > &s)
Definition size.h:180
Size()
Definition size.h:178
2D (width,height) size structure - Double
Definition size.h:202
Sized(double width, double height)
Definition size.h:205
Sized()
Definition size.h:204
Sized(const Sizex< double > &s)
Definition size.h:206
Sized(const Sizex< int > ©)
Definition size.h:209
Sized(const Vec2< double > &s)
Definition size.h:207
Sized(const Sizex< float > ©)
Definition size.h:210
2D (width,height) size structure - Float
Definition size.h:189
Sizef(const Sizex< float > &s)
Definition size.h:193
Sizef(const Vec2< float > &s)
Definition size.h:194
Sizef(float width, float height)
Definition size.h:192
Sizef()
Definition size.h:191
Sizef(const Sizex< int > ©)
Definition size.h:196
Sizef(const Sizex< double > ©)
Definition size.h:197
2D (width,height) size structure.
Definition vec4.h:61
Sizex(const Sizex< Type > &s)=default
Constructs a size structure.
bool operator!=(const Sizex< Type > &s) const
Size != Size operator (deep compare).
Definition size.h:168
Type height
Size height.
Definition size.h:82
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:132
Sizex< Type > & operator*=(const Type &s)
Size *= operator.
Definition size.h:126
Sizex< Type > operator+(const Type &s) const
Size + operator.
Definition size.h:138
bool operator==(const Sizex< Type > &s) const
Size == Size operator (deep compare).
Definition size.h:162
Sizex()
Constructs a size structure.
Definition size.h:58
Sizex< Type > & operator+=(const Type &s)
Size += operator.
Definition size.h:114
Sizex< Type > operator*(const Type &s) const
Size * operator.
Definition size.h:150
Sizex(Type width, Type height)
Constructs a size structure.
Definition size.h:64
Sizex< Type > operator-(const Type &s) const
Size - operator.
Definition size.h:144
Sizex< Type > & operator-=(const Sizex< Type > &s)
Size -= Size operator.
Definition size.h:96
Sizex(const Sizex< OtherType > ©)
Definition size.h:73
Sizex< Type > operator+(const Sizex< Type > &s) const
Size + Size operator.
Definition size.h:102
Type width
Size width.
Definition size.h:79
Sizex< Type > operator-(const Sizex< Type > &s) const
Size - Size operator.
Definition size.h:108
Sizex< Type > & operator-=(const Type &s)
Size -= operator.
Definition size.h:120
Sizex< Type > operator/(const Type &s) const
Size / operator.
Definition size.h:156
2D vector
Definition vec4.h:43