Relative Content

Tag Archive for c#linear-algebraquaternionsrotational-matrices

C# SharpDX, Quaternion Squad not continue

I’m using SharpDX to perform Squad interpolation of quaternions, but the calculated results are not continuous. Here is the code. What is the issue, and how can I fix it?
The following graph represents the change in the Y component (Vector3.Y) after converting quaternions to Euler angles, showing the rotation around the Y-axis. The graph displays the difference [i].Y – [i-1].Y for each samples
graph here