2D (width,height) size structure - Float More...
#include <size.h>
Public Member Functions | |
Sizef () | |
Sizef (const Sizex< double > ©) | |
Sizef (const Sizex< float > &s) | |
Sizef (const Sizex< int > ©) | |
Sizef (const Vec2< float > &s) | |
Sizef (float width, float height) | |
![]() | |
Sizex () | |
Constructs a size structure. | |
Sizex (const Sizex< float > &s)=default | |
Constructs a size structure. | |
Sizex (const Sizex< OtherType > ©) | |
Sizex (const Sizex< OtherType > ©) | |
Sizex (float width, float height) | |
Constructs a size structure. | |
operator Vec2< float > () const | |
bool | operator!= (const Sizex< float > &s) const |
Size != Size operator (deep compare). | |
Sizex< float > | operator* (const float &s) const |
Size * operator. | |
Sizex< float > & | operator*= (const float &s) |
Size *= operator. | |
Sizex< float > | operator+ (const float &s) const |
Size + operator. | |
Sizex< float > | operator+ (const Sizex< float > &s) const |
Size + Size operator. | |
Sizex< float > & | operator+= (const float &s) |
Size += operator. | |
Sizex< float > & | operator+= (const Sizex< float > &s) |
Size += Size operator. | |
Sizex< float > | operator- (const float &s) const |
Size - operator. | |
Sizex< float > | operator- (const Sizex< float > &s) const |
Size - Size operator. | |
Sizex< float > & | operator-= (const float &s) |
Size -= operator. | |
Sizex< float > & | operator-= (const Sizex< float > &s) |
Size -= Size operator. | |
Sizex< float > | operator/ (const float &s) const |
Size / operator. | |
Sizex< float > & | operator/= (const float &s) |
Size /= operator. | |
bool | operator== (const Sizex< float > &s) const |
Size == Size operator (deep compare). | |
Additional Inherited Members | |
![]() | |
float | height |
Size height. | |
float | width |
Size width. | |
2D (width,height) size structure - Float
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References clan::Sizex< float >::height, and clan::Sizex< float >::width.
|
inlineexplicit |
References clan::Sizex< float >::height, and clan::Sizex< float >::width.