aboutsummaryrefslogtreecommitdiff
path: root/raylib/examples/others/raymath_vector_angle.c
diff options
context:
space:
mode:
Diffstat (limited to 'raylib/examples/others/raymath_vector_angle.c')
-rw-r--r--raylib/examples/others/raymath_vector_angle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/raylib/examples/others/raymath_vector_angle.c b/raylib/examples/others/raymath_vector_angle.c
index ad573f5..d0f8154 100644
--- a/raylib/examples/others/raymath_vector_angle.c
+++ b/raylib/examples/others/raymath_vector_angle.c
@@ -42,7 +42,7 @@ int main(void)
{
// Update
//----------------------------------------------------------------------------------
- float startangle;
+ float startangle = 0.0f;
if (angleMode == 0) startangle = -Vector2LineAngle(v0, v1)*RAD2DEG;
if (angleMode == 1) startangle = 0.0f;