Transformations over network work again, with undo and redo

This commit is contained in:
Yousef Khadadeh 2025-07-27 11:56:34 +03:00
parent b6a25280e6
commit 7e69688ca6
11 changed files with 128 additions and 33 deletions

View file

@ -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;