From 9c4a0585f1e130fe3ae9237a86886b34b4ad5d9f Mon Sep 17 00:00:00 2001 From: Ian Byrne Date: Sun, 26 May 2019 20:01:17 +0100 Subject: [PATCH] Fix typo in Using Transforms examples Match CSharp example with GDScript example --- tutorials/3d/using_transforms.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/3d/using_transforms.rst b/tutorials/3d/using_transforms.rst index c97573605..72001ba04 100644 --- a/tutorials/3d/using_transforms.rst +++ b/tutorials/3d/using_transforms.rst @@ -374,7 +374,7 @@ Converting a rotation to quaternion is straightforward. // Convert basis to quaternion, keep in mind scale is lost var a = transform.basis.Quat(); - var b = transform.basis.Quat(); + var b = transform2.basis.Quat(); // Interpolate using spherical-linear interpolation (SLERP). var c = a.Slerp(b, 0.5f); // find halfway point between a and b // Apply back