< Summary

Information
Class: Gravitas.CollisionHandling.RotationalInterval
Assembly: Gravitas
File(s): /home/runner/work/Gravitas/Gravitas/src/Gravitas/CollisionHandling/Continuous/Rotational/RotationalInterval.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 29
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%

File(s)

/home/runner/work/Gravitas/Gravitas/src/Gravitas/CollisionHandling/Continuous/Rotational/RotationalInterval.cs

#LineLine coverage
 1//=======================================================================
 2// RotationalInterval.cs
 3//=======================================================================
 4// MIT License, Copyright (c) 2026-present David Oravsky (mrdav30)
 5// See LICENSE file in the project root for full license information.
 6//=======================================================================
 7
 8using FixedMathSharp;
 9
 10namespace Gravitas.CollisionHandling;
 11
 12/// <summary>
 13/// Stores the time bounds and subdivision depth of a rotational CCD search interval.
 14/// </summary>
 15internal readonly struct RotationalInterval
 16{
 17    internal RotationalInterval(Fixed64 lowerTime, Fixed64 upperTime, int depth)
 18    {
 1909819        LowerTime = lowerTime;
 1909820        UpperTime = upperTime;
 1909821        Depth = depth;
 1909822    }
 23
 24    internal Fixed64 LowerTime { get; }
 25
 26    internal Fixed64 UpperTime { get; }
 27
 28    internal int Depth { get; }
 29}