1
0
forked from 0ad/0ad

Fixed typo in complex mathematical equation (center = "top+bottom/2.f")

This was SVN commit r1117.
This commit is contained in:
Ykkrosh 2004-09-04 18:30:12 +00:00
parent 3ef7b1b67b
commit 4da6db92d2

View File

@ -209,7 +209,7 @@ CPos CRect::BottomRight() const
CPos CRect::CenterPoint() const
{
return CPos((left+right)/2.f, (top+bottom/2.f));
return CPos((left+right)/2.f, (top+bottom)/2.f);
}
bool CRect::PointInside(const CPos &point) const