From 37c45874faaf6a6284a4aaa2ff3403e67ac35748 Mon Sep 17 00:00:00 2001 From: jbikker Date: Wed, 6 Nov 2024 17:35:23 +0100 Subject: [PATCH] Fixed memset header req for win64. --- tiny_bvh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiny_bvh.h b/tiny_bvh.h index da0e332..3652d41 100644 --- a/tiny_bvh.h +++ b/tiny_bvh.h @@ -85,6 +85,7 @@ THE SOFTWARE. // Visual Studio / C11 #include #include // for sqrtf, fabs +#include // for memset #define ALIGNED( x ) __declspec( align( x ) ) #define ALIGNED_MALLOC( x ) ( ( x ) == 0 ? 0 : _aligned_malloc( ( x ), 64 ) ) #define ALIGNED_FREE( x ) _aligned_free( x ) @@ -353,7 +354,6 @@ class BVH #ifdef TINYBVH_IMPLEMENTATION #include // for assert -#include // for memset #ifdef BVH_USEAVX #include "immintrin.h" // for __m256 #endif