Parametrized toolchanges, experiments with sparse wipe tower, etc
This commit is contained in:
parent
37bbeeb9d0
commit
5ca0a2f37d
3 changed files with 441 additions and 457 deletions
|
@ -17,6 +17,7 @@ public:
|
|||
struct xy
|
||||
{
|
||||
xy(float x = 0.f, float y = 0.f) : x(x), y(y) {}
|
||||
xy(xy& pos,float xp,float yp) : x(pos.x+xp), y(pos.y+yp) {}
|
||||
xy operator+(const xy &rhs) const { xy out(*this); out.x += rhs.x; out.y += rhs.y; return out; }
|
||||
xy operator-(const xy &rhs) const { xy out(*this); out.x -= rhs.x; out.y -= rhs.y; return out; }
|
||||
xy& operator+=(const xy &rhs) { x += rhs.x; y += rhs.y; return *this; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue