Fix visual studio debug build issue with BVH boundbox, pointed out by Agustin Benavidez.
This commit is contained in:
parent
d113fd8ab7
commit
281f50cfcc
@ -50,7 +50,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
static struct empty_t {} empty;
|
||||
enum empty_t { empty = 0};
|
||||
|
||||
__forceinline BoundBox(empty_t)
|
||||
: min(make_float3(FLT_MAX, FLT_MAX, FLT_MAX)), max(make_float3(-FLT_MAX, -FLT_MAX, -FLT_MAX))
|
||||
|
Loading…
Reference in New Issue
Block a user