PlayRho  2.0.0
An interactive physics engine & library.
playrho::d2::Acceleration Struct Reference

2-D acceleration related data structure. More...

#include <playrho/d2/Acceleration.hpp>

Collaboration diagram for playrho::d2::Acceleration:
[legend]

Public Attributes

AngularAcceleration angular
 Angular acceleration.
 
LinearAcceleration2 linear
 Linear acceleration.
 

Related Functions

(Note that these are not member functions.)

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

Detailed Description

2-D acceleration related data structure.


The documentation for this struct was generated from the following file: