I am using a library called XNA Animation Component to play animations in my XNA game. I am trying to compress the animations, which consist of arrays of this struct:
/// <summary>
/// Represents a keyframe in an animation track.
/// </summary>
public struct BoneKeyframe
{
/// <summary>
/// Creats a new BoneKeyframe.
/// </summary>
/// <param name="transform">The transform for the keyframe.</param>
/// <param name="time">The time in ticks for the keyframe.</param>
public BoneKeyframe(Matrix transform, long time)
{
this.Transform = transform;
this.Time = time;
}
/// <summary>
/// The transform for the keyframe.
/// </summary>
public readonly Matrix Transform;
/// <summary>
/// The time for the keyframe.
/// </summary>
public readonly long Time;
}