Box2D
3.0.0
A Real-Time-Oriented 2-D Physics Engine
|
A 2D column vector with 3 elements. More...
#include <Math.hpp>
Public Member Functions | |
Vec3 () noexcept=default | |
Default constructor does nothing (for performance). More... | |
constexpr | Vec3 (RealNum x_, RealNum y_, RealNum z_) noexcept |
Construct using coordinates. More... | |
constexpr auto | operator- () const noexcept |
Negate this vector. More... | |
Public Attributes | |
RealNum | x |
RealNum | y |
RealNum | z |
A 2D column vector with 3 elements.
RealNum
- i.e. 12-bytes (with 4-byte RealNum).
|
defaultnoexcept |
Default constructor does nothing (for performance).
Construct using coordinates.
|
inlinenoexcept |
Negate this vector.
RealNum box2d::Vec3::x |
RealNum box2d::Vec3::y |
RealNum box2d::Vec3::z |