You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
#18051: Remove unnecessary variable assignments
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user