#include "G3D/AABox.h"
#include "G3D/Ray.h"
#include "G3D/Vector3.h"
#include "Define.h"
#include <algorithm>
#include <cmath>
#include <cstring>
#include <limits>
#include <stdexcept>
#include <vector>
Go to the source code of this file.
◆ MAX_STACK_SIZE
#define MAX_STACK_SIZE 64 |
◆ floatToRawIntBits()
static uint32 floatToRawIntBits |
( |
float |
f | ) |
|
|
inlinestatic |
39{
40 static_assert(
sizeof(float) ==
sizeof(
uint32),
"Size of uint32 and float must be equal for this to work");
42 memcpy(&ret, &f, sizeof(float));
43 return ret;
44}
std::uint32_t uint32
Definition: Define.h:107
Referenced by BIH::intersectRay(), and BIH::subdivide().
◆ intBitsToFloat()
static float intBitsToFloat |
( |
uint32 |
i | ) |
|
|
inlinestatic |