diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-06-18 23:31:50 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-06-18 23:31:50 +0000 |
| commit | 20458ea11cceeb57adbfbc8a20667c0ce0d79e74 (patch) | |
| tree | 47c7441fa2494766a323ac212f332178b010d728 /src/2geom/transforms.h | |
| parent | update 2geom (diff) | |
| download | inkscape-20458ea11cceeb57adbfbc8a20667c0ce0d79e74.tar.gz inkscape-20458ea11cceeb57adbfbc8a20667c0ce0d79e74.zip | |
update 2geom (r1350)
(bzr r5999)
Diffstat (limited to 'src/2geom/transforms.h')
| -rw-r--r-- | src/2geom/transforms.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/2geom/transforms.h b/src/2geom/transforms.h index 0e276bfc2..fb077a910 100644 --- a/src/2geom/transforms.h +++ b/src/2geom/transforms.h @@ -82,7 +82,7 @@ class Rotate { explicit Rotate(Coord theta) : vec(std::cos(theta), std::sin(theta)) {} Rotate(Point const &p) {Point v = p; v.normalize(); vec = v;} //TODO: UGLY! explicit Rotate(Coord x, Coord y) { Rotate(Point(x, y)); } - inline operator Matrix() const { return Matrix(vec[X], -vec[Y], vec[Y], vec[X], 0, 0); } + inline operator Matrix() const { return Matrix(vec[X], vec[Y], -vec[Y], vec[X], 0, 0); } inline Coord operator[](Dim2 const dim) const { return vec[dim]; } inline Coord operator[](unsigned const dim) const { return vec[dim]; } |
