Browse Source

fixed small difference between vector3 and morph

Vicente Penades 6 years ago
parent
commit
d602cf364c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/SharpGLTF.Tests/Animations/CurveBuilderTests.cs

+ 1 - 1
tests/SharpGLTF.Tests/Animations/CurveBuilderTests.cs

@@ -157,7 +157,7 @@ namespace SharpGLTF.Animations
 
             convertible
                 .ToLinearCurve()
-                .Select(kvp => new Vector2(kvp.Key, kvp.Value[1]))
+                .Select(kvp => new Vector2(kvp.Value[0], kvp.Value[1]))
                 .ToPointSeries()
                 .WithLineType(Plotting.LineType.Continuous)
                 .AttachToCurrentTest("plot.png");