towers_is_shot

This commit is contained in:
unknown
2010-08-29 14:41:27 +04:00
parent 8f9294c405
commit 26439849c8
18 changed files with 1767 additions and 2460 deletions

View File

@@ -151,4 +151,9 @@ inline uint qHash(const QPoint &pos)
}
inline float distance2(const QPointF &p1, const QPointF &p2)
{
return (p1.x()-p2.x())*(p1.x()-p2.x())+(p1.y()-p2.y())*(p1.y()-p2.y());
}
#endif // BASE_TYPES_H