Fixed some typos and mispellings (#5381)
Specifically "occured" -> "occurred"
This commit is contained in:
parent
ed5da45203
commit
1bbc8682f4
1 changed files with 7 additions and 7 deletions
|
|
@ -83,7 +83,7 @@ int main(void)
|
|||
pressOffset.y = mousePos.y - ball->pos.y;
|
||||
|
||||
// If the distance between the ball position and the mouse press position
|
||||
// is less or equal the ball radius, the event occured inside the ball
|
||||
// is less than or equal to the ball radius, the event occurred inside the ball
|
||||
if (hypot(pressOffset.x, pressOffset.y) <= ball->radius)
|
||||
{
|
||||
ball->grabbed = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue