Fixed typo in complex mathematical equation (center = "top+bottom/2.f")
This was SVN commit r1117.
This commit is contained in:
parent
3ef7b1b67b
commit
4da6db92d2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user