1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

#18051: Use 'var' when applicable

(cherry picked from commit fdfc478c88)
This commit is contained in:
Xavier Cho
2018-04-08 12:30:43 +09:00
committed by Hein-Pieter van Braam
parent e7b97af276
commit 31171ea5a2
14 changed files with 109 additions and 109 deletions

View File

@@ -111,10 +111,10 @@ namespace Godot
public Vector3 CubicInterpolate(Vector3 b, Vector3 preA, Vector3 postB, real_t t)
{
Vector3 p0 = preA;
Vector3 p1 = this;
Vector3 p2 = b;
Vector3 p3 = postB;
var p0 = preA;
var p1 = this;
var p2 = b;
var p3 = postB;
real_t t2 = t * t;
real_t t3 = t2 * t;
@@ -196,7 +196,7 @@ namespace Godot
public Vector3 Normalized()
{
Vector3 v = this;
var v = this;
v.Normalize();
return v;
}