PlayRho  2.0.0
An interactive physics engine & library.
Sweep.hpp File Reference

Definition of the Sweep class and closely related code. More...

Include dependency graph for Sweep.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  playrho::d2::Sweep
 Description of a "sweep" of motion in 2-D space. More...
 

Namespaces

 playrho
 
 playrho::d2
 

Functions

Sweep playrho::d2::Advance0 (const Sweep &sweep, ZeroToUnderOneFF< Real > alpha) noexcept
 Advances the sweep by a factor of the difference between the given time alpha and the sweep's alpha 0. More...
 
constexpr auto playrho::IsValid (const d2::Sweep &value) noexcept -> bool
 Determines if the given value is valid.
 
constexpr bool playrho::d2::operator!= (const Sweep &lhs, const Sweep &rhs)
 Not-equals operator.
 
constexpr bool playrho::d2::operator== (const Sweep &lhs, const Sweep &rhs)
 Equals operator.
 
void playrho::d2::SetLocalCenter (Sweep &sweep, const Length2 &value) noexcept
 Convenience function for setting the sweep's local center.
 

Detailed Description

Definition of the Sweep class and closely related code.