refactor: implementation cleanup + support for units as references started

This commit is contained in:
Mateusz Pusz
2023-02-02 14:56:29 +01:00
parent 622b3e3cbd
commit cf3408a3c8
31 changed files with 1085 additions and 615 deletions
@@ -105,7 +105,7 @@ struct glider {
std::array<polar_point, 1> polar;
};
constexpr mp_units::weak_quantity_of<mp_units::dimensionless> auto glide_ratio(const glider::polar_point& polar)
constexpr mp_units::WeakQuantityOf<mp_units::dimensionless> auto glide_ratio(const glider::polar_point& polar)
{
return polar.v / -polar.climb;
}