Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Static Public Member Functions | List of all members
BvhNodeMisc Struct Reference

Public Types

enum  Constants : unsigned int {
  SIZE_BIT_SHIFT = 0,
  SIZE_BIT_COUNT = 8,
  SIZE_FULL = ((1 << SIZE_BIT_COUNT) - 1),
  SIZE_MASK = SIZE_FULL << SIZE_BIT_SHIFT,
  FLAGS_BIT_SHIFT = SIZE_BIT_SHIFT + SIZE_BIT_COUNT,
  FLAGS_BIT_COUNT = 8,
  FLAGS_FULL = ((1 << FLAGS_BIT_COUNT) - 1),
  FLAGS_MASK = FLAGS_FULL << FLAGS_BIT_SHIFT
}
 
enum  Flags {
  FLAG_LEAF = 1 << (FLAGS_BIT_SHIFT + 0),
  FLAG_QUANTIZED = 1 << (FLAGS_BIT_SHIFT + 1),
  FLAG_UNALIGNED = 1 << (FLAGS_BIT_SHIFT + 2)
}
 

Static Public Member Functions

static CORE_FORCE_INLINE
unsigned int 
make (const unsigned int &size)
 
static CORE_FORCE_INLINE
unsigned int 
get_size (const unsigned int &m)
 
static CORE_FORCE_INLINE
unsigned int 
get_flags (const unsigned int &m)