PlayRho  2.0.0
An interactive physics engine & library.
playrho::d2::part::StaticAreaDensity< D > Struct Template Reference

Static area density policy class. More...

#include <playrho/d2/part/Compositor.hpp>

Static Public Attributes

static constexpr auto density = NonNegative<AreaDensity>{Real(D) * KilogramPerSquareMeter}
 Areal density of the shape (for use with 2D shapes).
 

Detailed Description

template<int D = 0>
struct playrho::d2::part::StaticAreaDensity< D >

Static area density policy class.

Provides a compile-time static class implementation of the density policy of the Compositor host class template.

Note
This class is not intended for standalone use.
See also
DynamicAreaDensity, Compositor.

The documentation for this struct was generated from the following file: