Smart Matrix
|
Implementation of vector class to store x and y. More...
#include <vector.hpp>
Public Member Functions | |
vector (int x, int y) | |
vector (const vector &rhs) | |
vector & | operator+= (const vector &rhs) |
vector | operator+ (const vector &rhs) const |
vector & | operator-= (const vector &rhs) |
vector | operator- (const vector &rhs) const |
vector & | operator*= (int n) |
vector | operator* (int n) const |
Public Attributes | |
int | x |
int | y |
Implementation of vector class to store x and y.
This class used by several classes in this library to store x and y or width and height.