quakeforge/ruamoko/lib/mersenne.r
2021-12-24 06:45:13 +09:00

8 lines
288 B
R

#include "mersenne.h"
mtwist_t *mtwist_new (int seed) = #0;
void mtwist_delete (mtwist_t *state) = #0;
void mtwist_seed (mtwist_t *state, int seed) = #0;
int mtwist_rand (mtwist_t *state) = #0;
float mtwist_rand_0_1 (mtwist_t *state) = #0;
float mtwist_rand_m1_1 (mtwist_t *state) = #0;