|
@@ -96,6 +96,16 @@ namespace Godot
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// Helper method for deconstruction into a tuple.
|
|
|
+ /// </summary>
|
|
|
+ public void Deconstruct(out real_t x, out real_t y, out real_t z)
|
|
|
+ {
|
|
|
+ x = this.x;
|
|
|
+ y = this.y;
|
|
|
+ z = this.z;
|
|
|
+ }
|
|
|
+
|
|
|
internal void Normalize()
|
|
|
{
|
|
|
real_t lengthsq = LengthSquared();
|