Skip to content

Commit

Permalink
More collisions
Browse files Browse the repository at this point in the history
  • Loading branch information
dfkeenan committed Nov 26, 2023
1 parent b5013c0 commit de5f43c
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Summary
Proposal API for additional math types to bring it up to feature parity with other popular math libraries i.e. `SlimDX`, `SharpDX`, or `Stride3D`. Leveraging modern .NET features such as `INumber<T>` and vectorization.

This proposal is regarding "collision shapes" for containment and intersection tests.
DirectX and other APIs include "collision shapes" that can be used for such things as culling. This proposal covers the addition of similar "Bounding{Shape}" types and their corresponding containment and intersection test.

# Contributors
- Daniel Keenan (dfkeenan)
Expand All @@ -26,16 +26,19 @@ Where it is appropriate for a type in this proposal to have both integer and flo

# Proposed API

DirectX and other APIs include "collision shapes" that can be used for such things as culling. `Silk.Net.Maths` already includes some types i.e. `BoxF`, `PlaneF`. These are additional.
`BoundingOrientedBox` is defined with a quaternion as it's orientation. `Quaternion<T>` is constrained by the `IBinaryFloatingPointIeee754<T>` scalar type. Therefore all bounding shapes with be constrained by the `IBinaryFloatingPointIeee754<T>` scalar type.

### Frustum
### BoundingBox

### OrientedBox
### BoundingOrientedBox

### CollisionHelper
### BoundingFrustum

### BoundingSphere

### PlaneIntersectionType

### ContainmentType

### CollisionHelper

0 comments on commit de5f43c

Please sign in to comment.