| | | 1 | | //======================================================================= |
| | | 2 | | // CapsulePlaneRaySelectionMetadata.cs |
| | | 3 | | //======================================================================= |
| | | 4 | | // MIT License, Copyright (c) 2024-present David Oravsky (mrdav30) |
| | | 5 | | // See LICENSE file in the project root for full license information. |
| | | 6 | | //======================================================================= |
| | | 7 | | |
| | | 8 | | using System; |
| | | 9 | | |
| | | 10 | | namespace FixedMathSharp.Geometry; |
| | | 11 | | |
| | | 12 | | /// <summary>Metadata over independently retained winner coefficient/sign banks.</summary> |
| | | 13 | | internal readonly struct CapsulePlaneRaySelectionMetadata |
| | | 14 | | { |
| | | 15 | | internal readonly bool HasValue, UsesValueRoot; |
| | | 16 | | internal readonly int Primitive; |
| | | 17 | | internal readonly CapsulePlaneRayEventSource Source; |
| | | 18 | | internal readonly CapsulePlaneRayEvent Event; |
| | | 19 | | internal readonly CapsulePlaneRayValueMetadata Value; |
| | | 20 | | internal CapsulePlaneRaySelectionMetadata(bool hasValue, bool usesValueRoot, int primitive, |
| | | 21 | | CapsulePlaneRayEventSource source, CapsulePlaneRayEvent descriptor, CapsulePlaneRayValueMetadata value) |
| | 2023 | 22 | | { HasValue = hasValue; UsesValueRoot = usesValueRoot; Primitive = primitive; Source = source; Event = descriptor; Va |
| | | 23 | | } |