fix: velocity is now defined in terms of displacement instead of position_vector

This commit is contained in:
Mateusz Pusz committed 2024-11-06 18:46:01 +01:00
1 parent 0c692dca8c
commit 6896d8e086
9 files changed
+69 -68

No files matched your search

@@ -126,19 +126,19 @@ character override is needed):
=== "C++23"
```cpp
inline constexpr struct velocity final : quantity_spec<speed, position_vector / duration> {} velocity;
inline constexpr struct velocity final : quantity_spec<speed, displacement / duration> {} velocity;
```
=== "C++20"
```cpp
inline constexpr struct velocity final : quantity_spec<velocity, speed, position_vector / duration> {} velocity;
inline constexpr struct velocity final : quantity_spec<velocity, speed, displacement / duration> {} velocity;
```
=== "Portable"
```cpp
QUANTITY_SPEC(velocity, speed, position_vector / duration);
QUANTITY_SPEC(velocity, speed, displacement / duration);
```