end is important, put it back

This commit is contained in:
Stephen Birarda 2013-09-30 15:42:07 -07:00
parent ca68846c1b
commit 43eed32e1d

View file

@ -64,6 +64,7 @@ void PieMenu::render() {
}
float start = M_PI / 2.0f;
float end = start + 2.0f * M_PI;
float step = 2.0f * M_PI / 100.0f;
float distance = sqrt((_mouseX - _x) * (_mouseX - _x) +
(_mouseY - _y) * (_mouseY - _y));