Merge pull request #2473 from ianByrne/patch-1

Fix typo in Using Transforms examples
This commit is contained in:
Max Hilbrunner
2019-05-26 23:37:42 +02:00
committed by GitHub
+1 -1
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