summaryrefslogtreecommitdiff
path: root/dw/types.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2010-11-24 19:26:45 +0000
committercorvid <corvid@lavabit.com>2010-11-24 19:26:45 +0000
commit58cb0cbc32a4e464d7f2601a872cc308bf5dd45b (patch)
treefc2519fe9164a6f4eaaa1df1f33ef08a76e174ae /dw/types.cc
parent9ca5a62164a183247bb01b63456144f453349c33 (diff)
trim some spaces
Diffstat (limited to 'dw/types.cc')
-rw-r--r--dw/types.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/types.cc b/dw/types.cc
index 047e7705..4d94f494 100644
--- a/dw/types.cc
+++ b/dw/types.cc
@@ -69,7 +69,7 @@ bool Rectangle::intersectsWith (Rectangle *otherRect, Rectangle *dest)
dest->x = dest->y = dest->width = dest->height = 0;
}
- return doIntersect;
+ return doIntersect;
}
/*
@@ -180,7 +180,7 @@ bool Polygon::linesCross0(int ax1, int ay1, int ax2, int ay2,
int z1 = zOfVectorProduct (ax1 - bx1, ay1 - by1, bx2 - bx1, by2 - by1);
int z2 = zOfVectorProduct (ax2 - bx1, ay2 - by1, bx2 - bx1, by2 - by1);
- return (z1 <= 0 && z2 >= 0) || (z1 >= 0 && z2 <= 0);
+ return (z1 <= 0 && z2 >= 0) || (z1 >= 0 && z2 <= 0);
}
/**