Trait for types that can detect almost-collisions between itself and an object from type T.
Useful in situations where fp arithmetic precision could be problematic.
Should be implemented to lean towards false positives rather than false negatives.
Trait for types that can detect collisions between itself and an object from type T.
Trait for geometric primitives that can calculate distances to other primitives.
Trait for geometric primitives that can calculate the minimum distance to separate from another primitive.
In case they are already separated, the minimum distance between them is returned
Trait for shared properties of geometric primitives.
Trait for types that can be transformed by a Transformation.
Trait for types that can be transformed based on a reference object with a Transformation applied.
Used for repeated transformations on an identical reference shape without reallocating new memory each time.