[][src]Module yoyo_physics::threshold

Threshold traits and types that are used to stop a pending animation.

Structs

And

This threshold evaluates to true if both of the given thresholds evaluate to true.

DisplacementThreshold

This threshold evaluates to true if the displacement of a running animation drops below the given threshold value.

VelocityThreshold

This threshold evaluates to true if the displacement of a running animation drops below the given threshold value.

Traits

Threshold

Implemented by types that can evaluate an approximation and determine if it is resting.