Fix visual studio debug build issue with BVH boundbox, pointed out by Agustin Benavidez.

This commit is contained in:
Brecht Van Lommel 2012-04-30 10:00:55 +00:00
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))