refactor: all examples refactored to use a simplified quantity creation
This commit is contained in:
1 parent
26ed241662
commit
859bc20fdc
18 files changed
+150
-162
No files matched your search
@@ -105,7 +105,7 @@ struct glider {
|
||||
std::array<polar_point, 1> polar;
|
||||
};
|
||||
|
||||
constexpr mp_units::WeakQuantityOf<mp_units::dimensionless> auto glide_ratio(const glider::polar_point& polar)
|
||||
constexpr mp_units::QuantityOf<mp_units::dimensionless> auto glide_ratio(const glider::polar_point& polar)
|
||||
{
|
||||
return polar.v / -polar.climb;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user