We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a00b479 + 38b8e05 commit ae2c8e7Copy full SHA for ae2c8e7
tutorials/common/Aabb.h
@@ -44,8 +44,8 @@ struct Aabb
44
45
HOST_DEVICE INLINE void reset( void )
46
{
47
- m_min = make_hiprtFloat3( FltMax, FltMax, FltMax );
48
- m_max = make_hiprtFloat3( -FltMax, -FltMax, -FltMax );
+ m_min = make_hiprtFloat3( hiprt::FltMax, hiprt::FltMax, hiprt::FltMax );
+ m_max = make_hiprtFloat3( -hiprt::FltMax, -hiprt::FltMax, -hiprt::FltMax );
49
}
50
51
HOST_DEVICE INLINE Aabb& grow( const hiprtFloat3& p )
tutorials/common/Common.h
@@ -31,9 +31,6 @@
31
#include <cmath>
32
#endif
33
34
-constexpr float FltMin = 1.175494351e-38f;
35
-constexpr float FltMax = 3.402823466e+38f;
36
-
37
#if !defined( __KERNELCC__ )
38
#define HOST
39
#define DEVICE
0 commit comments