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

Definition of the Acceleration class and closely related code. More...

Include dependency graph for Acceleration.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  playrho::d2::Acceleration
 2-D acceleration related data structure. More...
 

Namespaces

 playrho
 
 playrho::d2
 

Functions

constexpr auto playrho::IsValid (const d2::Acceleration &value) noexcept -> bool
 Determines if the given value is valid.
 
constexpr bool playrho::d2::operator!= (const Acceleration &lhs, const Acceleration &rhs)
 Inequality operator.
 
constexpr Acceleration playrho::d2::operator* (const Acceleration &lhs, const Real rhs)
 Multiplication operator.
 
constexpr Acceleration playrho::d2::operator* (const Real lhs, const Acceleration &rhs)
 Multiplication operator.
 
constexpr Acceleration & playrho::d2::operator*= (Acceleration &lhs, const Real rhs)
 Multiplication assignment operator.
 
constexpr Acceleration playrho::d2::operator+ (const Acceleration &lhs, const Acceleration &rhs)
 Addition operator.
 
constexpr Acceleration playrho::d2::operator+ (const Acceleration &value)
 Positive operator.
 
constexpr Acceleration & playrho::d2::operator+= (Acceleration &lhs, const Acceleration &rhs)
 Addition assignment operator.
 
constexpr Acceleration playrho::d2::operator- (const Acceleration &lhs, const Acceleration &rhs)
 Subtraction operator.
 
constexpr Acceleration playrho::d2::operator- (const Acceleration &value)
 Negation operator.
 
constexpr Acceleration & playrho::d2::operator-= (Acceleration &lhs, const Acceleration &rhs)
 Subtraction assignment operator.
 
constexpr Acceleration playrho::d2::operator/ (const Acceleration &lhs, const Real rhs)
 Division operator.
 
constexpr Acceleration & playrho::d2::operator/= (Acceleration &lhs, const Real rhs)
 Division assignment operator.
 
constexpr bool playrho::d2::operator== (const Acceleration &lhs, const Acceleration &rhs)
 Equality operator.
 

Detailed Description

Definition of the Acceleration class and closely related code.