Fix typo in Using Transforms examples

Match CSharp example with GDScript example
This commit is contained in:
Ian Byrne
2019-05-26 20:01:17 +01:00
committed by GitHub
parent ad7ea34a78
commit 9c4a0585f1

View File

@@ -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