1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00

#18051: Remove unnecessary variable assignments

(cherry picked from commit 93dd59d763)
This commit is contained in:
Xavier Cho
2018-04-08 12:38:02 +09:00
committed by Hein-Pieter van Braam
parent 31171ea5a2
commit 58f2953ddf
5 changed files with 7 additions and 11 deletions

View File

@@ -165,7 +165,7 @@ namespace Godot
// Clamp dot to [-1, 1]
dot = (dot < -1.0f) ? -1.0f : ((dot > 1.0f) ? 1.0f : dot);
var v = new Vector2();
Vector2 v;
if (dot > 0.9995f)
{