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

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