PlayRho  2.0.0
An interactive physics engine & library.
BodyConf.hpp File Reference

Declarations of BodyConf class & free functions associated with it. More...

#include <cstdlib>
#include <type_traits>
#include <playrho/ArrayList.hpp>
#include <playrho/BodyType.hpp>
#include <playrho/NonNegative.hpp>
#include <playrho/ShapeID.hpp>
#include <playrho/Span.hpp>
#include <playrho/d2/Position.hpp>
#include <playrho/d2/Sweep.hpp>
#include <playrho/d2/Transformation.hpp>
#include <playrho/d2/Velocity.hpp>
Include dependency graph for BodyConf.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  playrho::d2::BodyConf
 Configuration for a body. More...
 

Namespaces

 playrho
 
 playrho::d2
 

Functions

constexpr auto playrho::d2::GetAngle (const BodyConf &conf) noexcept -> Angle
 Gets the angle of the given configuration.
 
BodyConf playrho::d2::GetBodyConf (const Body &body)
 Gets the body definition for the given body. More...
 
constexpr BodyConf playrho::d2::GetDefaultBodyConf () noexcept
 Gets the default body definition.
 
constexpr auto playrho::d2::GetLocation (const BodyConf &conf) noexcept -> Length2
 Gets the location of the given configuration.
 
constexpr bool playrho::d2::operator!= (const BodyConf &lhs, const BodyConf &rhs) noexcept
 Operator not-equals.
 
constexpr bool playrho::d2::operator== (const BodyConf &lhs, const BodyConf &rhs) noexcept
 Operator equals.
 

Detailed Description

Declarations of BodyConf class & free functions associated with it.