From 73094dbd6d9b86209953dd7746dd1450694e2bf6 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Tue, 2 Jan 2024 01:18:47 -0500 Subject: [PATCH] add little fun != to vec --- include/blt/math/vectors.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/blt/math/vectors.h b/include/blt/math/vectors.h index 9646086..15232f1 100755 --- a/include/blt/math/vectors.h +++ b/include/blt/math/vectors.h @@ -267,6 +267,11 @@ namespace blt { return true; } + template + inline constexpr bool operator!=(const vec& left, const vec& right) { + return !(left == right); + } + template inline constexpr bool operator&&(const vec& left, const vec& right) { for (uint32_t i = 0; i < size; i++)