|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
View of a generic collider. More...
#include <GREM/physics/Shape.hpp>
Public Member Functions | |
| GREM_ALWAYS_INLINE constexpr | ColliderView (const Collider< N > &collider) noexcept |
| Construct a collider view. | |
| GREM_ALWAYS_INLINE constexpr | ColliderView (ShapeView< N > shape, CollisionFilter filter) noexcept |
| Construct a collider view from a shape and collision filter. | |
Public Attributes | |
| ShapeView< N > | shape |
| Collider shape. | |
| CollisionFilter | filter |
| Collision filter. | |
View of a generic collider.
| N | number of dimensions of the world space (must be 2 or 3). |
|
inlineconstexprnoexcept |
Construct a collider view.
| collider | reference to the collider to construct the view over. Must outlive its use in the view. |
|
inlineconstexprnoexcept |
Construct a collider view from a shape and collision filter.
| shape | reference to the shape to construct the view over. Must outlive its use in the view. |
| filter | collision filter. |
| ShapeView<N> grem::physics::ColliderView< N >::shape |
Collider shape.
| CollisionFilter grem::physics::ColliderView< N >::filter |
Collision filter.