bevy_math

Module bounding

Source
Expand description

This module contains traits and implements for working with bounding shapes

There are four traits used:

Structs§

Traits§

  • A trait with methods that return 2D bounded volumes for a shape
  • A trait with methods that return 3D bounded volumes for a shape
  • A trait implemented on 2D shapes which determines the 3D bounding volumes of their extrusions.
  • A trait that generalizes different bounding volumes. Bounding volumes are simplified shapes that are used to get simpler ways to check for overlapping elements or finding intersections.
  • A trait that generalizes intersection tests against a volume. Intersection tests can be used for a variety of tasks, for example: