Code/HumanoidMocap/Core/Cleanup/FrameRange.cs
#nullable enable annotations
using System;
using System.Collections.Generic;
using System.Numerics;
using HumanoidMocapX.Core.Maths;
using SkeletonModel = HumanoidMocapX.Core.Skeleton.Skeleton;
namespace HumanoidMocapX.Core.Cleanup;
using Vector3 = System.Numerics.Vector3; // s&box compat: shadow engine's global-namespace Vector3 (see Code/HumanoidMocap/Assembly.cs)
/// <summary>Inclusive frame range.</summary>
public readonly record struct FrameRange(int Start, int End)
{
/// <summary>Number of frames in the range.</summary>
public int Length => End - Start + 1;
}