Transformations over network work again, with undo and redo
This commit is contained in:
parent
b6a25280e6
commit
7e69688ca6
11 changed files with 128 additions and 33 deletions
|
|
@ -24,8 +24,10 @@ class CoordSpaceHelper {
|
|||
CoordSpaceHelper();
|
||||
CoordSpaceHelper(const WorldVec& initPos, const WorldScalar& initInverseScale, double initRotation);
|
||||
|
||||
Vector2f to_space(const WorldVec& coord) const;
|
||||
bool operator==(const CoordSpaceHelper& otherCoords) const;
|
||||
bool operator!=(const CoordSpaceHelper& otherCoords) const;
|
||||
|
||||
Vector2f to_space(const WorldVec& coord) const;
|
||||
|
||||
WorldVec from_space(Vector2f coord) const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue