constexpr const math::fquat & get_orientation() const noexcept
Returns the current orientation of the rigid body.
constexpr const math::fvec3 & get_position() const noexcept
Returns the current position of the rigid body.
constexpr void apply_force(const math::fvec3 &force, const math::fvec3 &radius) noexcept
Applies a force at a point on the rigid body.
constexpr math::fvec3 get_point_velocity(const math::fvec3 &radius) const noexcept
Calculates the total velocity at a point on the rigid body.
constexpr int difference(T x, T y) noexcept
Returns the number of differing bits between two values, known as Hamming distance.
T distance(const vector< T, N > &p0, const vector< T, N > &p1)
Calculates the distance between two points.
vector< T, N > sqrt(const vector< T, N > &x)
Takes the square root of each element.