From c7e425f759b41994424ffb20c0fc1522daa9e162 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 26 Aug 2022 18:32:23 +0200 Subject: [PATCH] - make TAngle::Degrees() constexpr. --- src/common/utility/vectors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/utility/vectors.h b/src/common/utility/vectors.h index d61a4f76e..23452f07b 100644 --- a/src/common/utility/vectors.h +++ b/src/common/utility/vectors.h @@ -1324,7 +1324,7 @@ public: return xs_CRoundToInt(Degrees_ * (0x40000000 / 90.)); } - vec_t Degrees() const + constexpr vec_t Degrees() const { return Degrees_; }