|
OWL
OptiX7 Wrapper Library
|
#include <random.h>
Public Member Functions | |
| __both__ | LCG () |
| __both__ | LCG (unsigned int val0, unsigned int val1) |
| __both__ | LCG (const vec2i &seed) |
| __both__ | LCG (const vec2ui &seed) |
| __both__ void | init (unsigned int val0, unsigned int val1) |
| __both__ float | operator() () |
Public Attributes | |
| uint32_t | state |
simple 24-bit linear congruence generator
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| uint32_t owl::common::LCG< N >::state |