medfall

A super great game engine
Log | Files | Refs

well512.h (240B)


      1 #pragma once
      2 
      3 #include "intrinsics.h"
      4 #include "rng/rng_utils.h"
      5 
      6 struct RNGWell512 {
      7 	u32 state[ 16 ];
      8 	u32 index;
      9 };
     10 
     11 void rng_well512_init( RNGWell512 * rng );
     12 u32 rng_well512_next( RNGWell512 * rng );
     13 
     14 u32 rng_next( RNGWell512 * rng );