Velocity.hpp File Reference
#include <PlayRho/Common/Settings.hpp>
#include <PlayRho/Common/Vector2.hpp>
#include <utility>

Go to the source code of this file.

Classes

struct  playrho::d2::Velocity
 2-D velocity related data structure. More...
 

Namespaces

 playrho
 
 playrho::d2
 

Typedefs

using playrho::d2::VelocityPair = std::pair< Velocity, Velocity >
 Velocity pair. More...
 

Functions

PLAYRHO_CONSTEXPR bool playrho::d2::operator== (const Velocity &lhs, const Velocity &rhs)
 Equality operator. More...
 
PLAYRHO_CONSTEXPR bool playrho::d2::operator!= (const Velocity &lhs, const Velocity &rhs)
 Inequality operator. More...
 
PLAYRHO_CONSTEXPR Velocity & playrho::d2::operator*= (Velocity &lhs, const Real rhs)
 Multiplication assignment operator. More...
 
PLAYRHO_CONSTEXPR Velocity & playrho::d2::operator/= (Velocity &lhs, const Real rhs)
 Division assignment operator. More...
 
PLAYRHO_CONSTEXPR Velocity & playrho::d2::operator+= (Velocity &lhs, const Velocity &rhs)
 Addition assignment operator. More...
 
PLAYRHO_CONSTEXPR Velocity playrho::d2::operator+ (const Velocity &lhs, const Velocity &rhs)
 Addition operator. More...
 
PLAYRHO_CONSTEXPR Velocity & playrho::d2::operator-= (Velocity &lhs, const Velocity &rhs)
 Subtraction assignment operator. More...
 
PLAYRHO_CONSTEXPR Velocity playrho::d2::operator- (const Velocity &lhs, const Velocity &rhs)
 Subtraction operator. More...
 
PLAYRHO_CONSTEXPR Velocity playrho::d2::operator- (const Velocity &value)
 Negation operator. More...
 
PLAYRHO_CONSTEXPR Velocity playrho::d2::operator+ (const Velocity &value)
 Positive operator. More...
 
PLAYRHO_CONSTEXPR Velocity playrho::d2::operator* (const Velocity &lhs, const Real rhs)
 Multiplication operator. More...
 
PLAYRHO_CONSTEXPR Velocity playrho::d2::operator* (const Real lhs, const Velocity &rhs)
 Multiplication operator. More...
 
PLAYRHO_CONSTEXPR Velocity playrho::d2::operator/ (const Velocity &lhs, const Real rhs)
 Division operator. More...
 
VelocityPair playrho::d2::CalcWarmStartVelocityDeltas (const VelocityConstraint &vc)
 Calculates the "warm start" velocity deltas for the given velocity constraint. More...
 
template<>
PLAYRHO_CONSTEXPR bool playrho::IsValid (const d2::Velocity &value) noexcept
 Determines if the given value is valid. More...