2-D acceleration related data structure. More...
#include <playrho/d2/Acceleration.hpp>
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 Acceleration & | operator*= (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 Acceleration & | operator+= (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 Acceleration & | operator-= (Acceleration &lhs, const Acceleration &rhs) |
Subtraction assignment operator. | |
constexpr Acceleration | operator/ (const Acceleration &lhs, const Real rhs) |
Division operator. | |
constexpr Acceleration & | operator/= (Acceleration &lhs, const Real rhs) |
Division assignment operator. | |
constexpr bool | operator== (const Acceleration &lhs, const Acceleration &rhs) |
Equality operator. | |
2-D acceleration related data structure.