Exemple #1
0
float32 ConverterBox2D::convertAngularAcceleration(units::Acceleration acceleration) const noexcept
{
    const auto coeff = 1;

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