mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-26 07:02:49 +00:00
ru:: operator *=
This commit is contained in:
parent
0735ce785a
commit
5168a4dd7e
@ -128,6 +128,7 @@ struct xy {
|
||||
xy& operator += (xy b) { x += b.x; y += b.y; return self; }
|
||||
xy& operator -= (xy b) { x -= b.x; y -= b.y; return self; }
|
||||
xy& operator *= (ld s) { x *= s; y *= s; return self; }
|
||||
xy& operator *= (xy b) { x *= b.x; y *= b.y; return self; }
|
||||
xy& operator /= (ld s) { x /= s; y /= s; return self; }
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user