|
stackchan-display
|
Public Member Functions | |
| Vector2i (int x, int y) | |
| Vector2i | operator+ (const Vector2i &other) const |
| Vector2i | operator- (const Vector2i &other) const |
| template<typename T > | |
| Vector2i | operator* (T scalar) const |
| template<typename T > | |
| Vector2i | operator/ (T scalar) const |
| Vector2i & | operator+= (const Vector2i &other) |
| Vector2i & | operator-= (const Vector2i &other) |
| Vector2i & | operator*= (int scalar) |
| Vector2i & | operator/= (int scalar) |
| bool | operator== (const Vector2i &other) const |
| bool | operator!= (const Vector2i &other) const |
| int | dot (const Vector2i &other) const |
| void | clamp (const Vector2i &min, const Vector2i &max) |
Public Attributes | |
| int | x |
| int | y |