summaryrefslogtreecommitdiffhomepage
path: root/examples/others/raymath_vector_angle.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/others/raymath_vector_angle.c')
-rw-r--r--examples/others/raymath_vector_angle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/others/raymath_vector_angle.c b/examples/others/raymath_vector_angle.c
index ad573f54..d0f81548 100644
--- a/examples/others/raymath_vector_angle.c
+++ b/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;