From e6298271e47bc8386f7e08092c8e5060ae89abb2 Mon Sep 17 00:00:00 2001 From: Brett Date: Tue, 14 Mar 2023 18:05:24 -0400 Subject: [PATCH] const --- include/blt/math/vectors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/blt/math/vectors.h b/include/blt/math/vectors.h index 0f1ff7a..bdf5d67 100644 --- a/include/blt/math/vectors.h +++ b/include/blt/math/vectors.h @@ -63,7 +63,7 @@ namespace blt { return std::sqrt(total); } - [[nodiscard]] inline vec& normalize() const { + [[nodiscard]] inline vec normalize() const { auto mag = this->magnitude(); if (mag == 0) return *this;