diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-08 16:14:25 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-08 16:14:25 +0100 |
commit | f1f6f08bf15e7ef1520810524a5e50a126629432 (patch) | |
tree | 239f1d19fb890a7badc2f7887c460605770614e1 /src/crepe/api/Vector2.hpp | |
parent | 31b068a3d2a275656ec310552f1ab27034aa184d (diff) | |
parent | 94e2988cc8c42e83a4b7b858c48458f997130963 (diff) |
Merge remote-tracking branch 'origin/loek/game' into niels/game
Diffstat (limited to 'src/crepe/api/Vector2.hpp')
-rw-r--r-- | src/crepe/api/Vector2.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/api/Vector2.hpp b/src/crepe/api/Vector2.hpp index e2f96ed..30441d2 100644 --- a/src/crepe/api/Vector2.hpp +++ b/src/crepe/api/Vector2.hpp @@ -180,7 +180,7 @@ Vector2<T> Vector2<T>::rotate(float deg) const { } // namespace crepe template <typename T> -std::format_context::iterator std::formatter<crepe::Vector2<T>>::format(crepe::Vector2<T> vec, format_context & ctx) const { +std::format_context::iterator +std::formatter<crepe::Vector2<T>>::format(crepe::Vector2<T> vec, format_context & ctx) const { return formatter<string>::format(std::format("{{{}, {}}}", vec.x, vec.y), ctx); } - |