#include <MortonCode.h>
◆ sExpandBits()
  
  
      
        
          | static uint32 MortonCode::sExpandBits  | 
          ( | 
          float  | 
          inV | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
First converts a floating point value in the range [0, 1] to a 10 bit fixed point integer. Then expands a 10-bit integer into 30 bits by inserting 2 zeros after each bit. 
 
 
◆ sGetMortonCode()
  
  
      
        
          | static uint32 MortonCode::sGetMortonCode  | 
          ( | 
          Vec3Arg  | 
          inVector,  | 
         
        
           | 
           | 
          const AABox &  | 
          inVectorBounds  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
Calculate the morton code for inVector, given that all vectors lie in inVectorBounds. 
 
 
The documentation for this class was generated from the following file: