Ported mode Model methods to XS

This commit is contained in:
Alessandro Ranellucci 2015-12-02 18:06:18 +01:00
parent dfce3a3138
commit ed75219215
9 changed files with 86 additions and 125 deletions

View file

@ -94,6 +94,7 @@ class Pointf
};
void scale(double factor);
void translate(double x, double y);
void translate(const Vectorf &vector);
void rotate(double angle, const Pointf &center);
Pointf negative() const;
Vectorf vector_to(const Pointf &point) const;