summaryrefslogtreecommitdiffstats
path: root/src/2geom/matrix.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-08-01 19:50:41 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-08-01 19:50:41 +0000
commit3573a36ab689a24e32369edb7c30ba9128b332f2 (patch)
tree5fe40fb06f03362daac5774222f9ffa88c3f74cf /src/2geom/matrix.cpp
parentremove more NR:: from live_effects code (diff)
downloadinkscape-3573a36ab689a24e32369edb7c30ba9128b332f2.tar.gz
inkscape-3573a36ab689a24e32369edb7c30ba9128b332f2.zip
update to latest 2geom
(bzr r6516)
Diffstat (limited to 'src/2geom/matrix.cpp')
-rw-r--r--src/2geom/matrix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/2geom/matrix.cpp b/src/2geom/matrix.cpp
index 6286de86e..04a21d624 100644
--- a/src/2geom/matrix.cpp
+++ b/src/2geom/matrix.cpp
@@ -148,7 +148,7 @@ bool Matrix::isUniformScale(Coord const eps) const {
\return A bool representing yes/no.
*/
bool Matrix::isRotation(Coord const eps) const {
- return !are_near(_c[0], _c[3], eps) && are_near(_c[1], -_c[2], eps) &&
+ return are_near(_c[0], _c[3], eps) && are_near(_c[1], -_c[2], eps) &&
are_near(_c[4], 0.0, eps) && are_near(_c[5], 0.0, eps) &&
are_near(_c[0]*_c[0] + _c[1]*_c[1], 1.0, eps);
}