Skip to content

Commit

Permalink
Add missing AnimationInterpolation field to QuaternionKey
Browse files Browse the repository at this point in the history
  • Loading branch information
Saalvage committed Nov 25, 2024
1 parent fedbff8 commit 9c95b67
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AssimpNet/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@ public enum ImporterFeatureFlags
/// <summary>
/// Defines the type of interpolation to use.
/// </summary>
public enum AnimInterpolation
public enum AnimationInterpolation
{
/// <summary>
/// Step interpolation.
Expand Down
5 changes: 5 additions & 0 deletions AssimpNet/QuaternionKey.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ public struct QuaternionKey : IEquatable<QuaternionKey>
/// </summary>
public Quaternion Value;

/// <summary>
/// The interpolation setting of this key.
/// </summary>
public AnimationInterpolation Interpolation = AnimationInterpolation.Linear;

/// <summary>
/// Constructs a new QuaternionKey.
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion AssimpNet/VectorKey.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public struct VectorKey : IEquatable<VectorKey>
/// <summary>
/// The interpolation setting of this key.
/// </summary>
public AnimInterpolation Interpolation = AnimInterpolation.Linear;
public AnimationInterpolation Interpolation = AnimationInterpolation.Linear;

/// <summary>
/// Constructs a new VectorKey.
Expand Down

0 comments on commit 9c95b67

Please sign in to comment.