From 3e5e15a4923c752be703d7afb1214d5e5a767fad Mon Sep 17 00:00:00 2001 From: aura Date: Wed, 25 Feb 2026 08:58:39 +0100 Subject: finish wall collisions (clipvelocity), some utils --- src/util/fnv.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/util/fnv.h') diff --git a/src/util/fnv.h b/src/util/fnv.h index 534063d..679bea9 100644 --- a/src/util/fnv.h +++ b/src/util/fnv.h @@ -1,4 +1,5 @@ #pragma once +#include "string.h" #include "typedef.h" typedef U32 FNV1A; @@ -8,13 +9,6 @@ enum : FNV1A { FNV1A_BASIS = 0x811C9DC5 }; -inline constexpr U32 strlen_ct( const char* str ) { - U32 s = 0; - for( ; !!str[s]; ++s ); - - return s; -} - inline constexpr FNV1A fnv1a( const U8* data, const U32 size ) { FNV1A out = FNV1A_BASIS; -- cgit v1.2.3