From 182c8f8357739f905bbd721006480502435b6b43 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Sun, 27 Nov 2022 12:04:31 -0800 Subject: Update brace style to match rest of my projects --- app/source/Cplt/Utils/Size.hpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'app/source/Cplt/Utils/Size.hpp') diff --git a/app/source/Cplt/Utils/Size.hpp b/app/source/Cplt/Utils/Size.hpp index ae38e8a..bcad488 100644 --- a/app/source/Cplt/Utils/Size.hpp +++ b/app/source/Cplt/Utils/Size.hpp @@ -18,25 +18,21 @@ public: } Size2(Vec2 vec) - : width{ vec.x }, height{ vec.y } - { + : width{ vec.x }, height{ vec.y } { } - operator Vec2() const - { + operator Vec2() const { return { width, height }; } - Vec2 AsVec() const - { + Vec2 AsVec() const { return { width, height }; } friend bool operator==(const Size2&, const Size2&) = default; template - Size2 Cast() const - { + Size2 Cast() const { return { static_cast(width), static_cast(height), -- cgit v1.2.3-70-g09d2