From 7466c0415415052cda55f02befb720d2a348b6c9 Mon Sep 17 00:00:00 2001 From: aura Date: Tue, 3 Mar 2026 23:35:50 +0100 Subject: smoother walls --- src/util/vector.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/util') diff --git a/src/util/vector.h b/src/util/vector.h index 33409a7..a01689c 100644 --- a/src/util/vector.h +++ b/src/util/vector.h @@ -55,6 +55,7 @@ struct VEC3 { VEC3( const VEC2& v ) { x = v.x; y = v.y; z = 0.f; } bool operator==( const VEC3& v ) const { return ( x == v.x && y == v.y && z == v.z ); } + bool operator!=( const VEC3& v ) const { return !( x == v.x && y == v.y && z == v.z ); } VEC3& operator=( const VEC3& v ) { x = v.x; y = v.y; z = v.z; return *this; } F32& operator[]( I32 i ) { return ( (F32*)this )[i]; } F32 operator[]( I32 i ) const { return ( (F32*)this )[i]; } -- cgit v1.2.3