mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Fixed some typos and mispellings (#5381)
Specifically "occured" -> "occurred"
This commit is contained in:
@ -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;
|
||||
|
||||
@ -42,7 +42,7 @@ int main(void)
|
||||
SetConfigFlags(FLAG_WINDOW_HIGHDPI);
|
||||
InitWindow(screenWidth, screenHeight, "raylib [shapes] example - double pendulum");
|
||||
|
||||
// Simulation Paramters
|
||||
// Simulation Parameters
|
||||
float l1 = 15.0f, m1 = 0.2f, theta1 = DEG2RAD*170, w1 = 0;
|
||||
float l2 = 15.0f, m2 = 0.1f, theta2 = DEG2RAD*0, w2 = 0;
|
||||
float lengthScaler = 0.1f;
|
||||
|
||||
Reference in New Issue
Block a user