Ejemplo n.º 1
0
float32 ConverterBox2D::convertAngularAcceleration(units::Acceleration acceleration) const noexcept
{
    const auto coeff = 1;

    return coeff * acceleration.value();
}
Ejemplo n.º 2
0
float32 ConverterBox2D::convertAngularAcceleration(units::Acceleration acceleration) const noexcept
{
    return static_cast<float32>(acceleration.value());
}