Box2D
3.0.0
A Real-Time-Oriented 2-D Physics Engine
|
#include <Math.hpp>
Public Member Functions | |
Transformation ()=default | |
The default constructor does nothing. More... | |
constexpr | Transformation (Length2D translation, UnitVec2 rotation) noexcept |
Initialize using a translation and a rotation. More... | |
constexpr | Transformation (const Transformation ©)=default |
Public Attributes | |
Length2D | p |
Translational portion of the transformation. 8-bytes. More... | |
UnitVec2 | q |
Rotational portion of the transformation. 8-bytes. More... | |
A transform contains translation and rotation. It is used to represent the position and orientation of rigid frames.
|
default |
The default constructor does nothing.
|
inlinenoexcept |
Initialize using a translation and a rotation.
|
default |
Length2D box2d::Transformation::p |
Translational portion of the transformation. 8-bytes.
UnitVec2 box2d::Transformation::q |
Rotational portion of the transformation. 8-bytes.