|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Description of an infinite plane in world space. More...
#include <GREM/physics/Shape.hpp>
Public Types | |
| using | Unit = typename Position<N>::Unit |
| Unit type. | |
| using | DimensionType = typename Unit::DimensionType |
| Unit dimension type. | |
| using | MagnitudeType = typename Unit::MagnitudeType |
| Unit magnitude type. | |
Public Member Functions | |
| bool | operator== (const Plane &other) const =default |
| Compare this plane to another for equality. | |
Public Attributes | |
| Position< N > | point |
| Arbitrary point on the plane's surface. | |
| Direction< N > | normal |
| Unit direction vector perpendicular to the plane's surface, pointing in the direction the plane is facing. | |
Static Public Attributes | |
| static constexpr Unit | UNIT {} |
| Unit. | |
| static constexpr DimensionType | DIMENSION {} |
| Unit dimension. | |
| static constexpr MagnitudeType | MAGNITUDE {} |
| Unit magnitude. | |
Description of an infinite plane in world space.
| N | number of dimensions of the world space (must be 2 or 3). |
| using grem::physics::Plane< N >::Unit = typename Position<N>::Unit |
Unit type.
| using grem::physics::Plane< N >::DimensionType = typename Unit::DimensionType |
Unit dimension type.
| using grem::physics::Plane< N >::MagnitudeType = typename Unit::MagnitudeType |
Unit magnitude type.
|
nodiscarddefault |
Compare this plane to another for equality.
| other | the plane to compare this plane to. |
|
staticconstexpr |
Unit.
|
staticconstexpr |
Unit dimension.
|
staticconstexpr |
Unit magnitude.
| Position<N> grem::physics::Plane< N >::point |
Arbitrary point on the plane's surface.
| Direction<N> grem::physics::Plane< N >::normal |
Unit direction vector perpendicular to the plane's surface, pointing in the direction the plane is facing.