#include <random.h>
literal re-implementation of the stdlib 'drand48()' LCG generator. note this is usually significantly worse than the owl::common::LCG class above 
◆ init()
  
  | 
        
          | __both__ void owl::common::DRand48::init | ( | int | seed = 0 | ) |  |  | inline | 
 
initialize the random number generator with a new seed (usually per pixel) 
 
 
◆ operator()()
  
  | 
        
          | __both__ float owl::common::DRand48::operator() | ( |  | ) |  |  | inline | 
 
get the next 'random' number in the sequence 
 
 
◆ state
      
        
          | uint64_t owl::common::DRand48::state | 
      
 
 
The documentation for this struct was generated from the following file: