Parallelise rendering
This commit is contained in:
1 parent
8827f22359
commit
75b646dd44
4 files changed
+93
-39
No files matched your search
+9
-3
@@ -3,9 +3,15 @@
|
||||
|
||||
#include "vec3.h"
|
||||
|
||||
void rng_init();
|
||||
#include <stdint.h>
|
||||
|
||||
double rng_double();
|
||||
vec3_t rng_vec3();
|
||||
typedef struct {
|
||||
uint32_t state;
|
||||
} rng_t;
|
||||
|
||||
rng_t rng_init(unsigned seed);
|
||||
|
||||
double rng_double(rng_t *rng);
|
||||
vec3_t rng_vec3(rng_t *rng);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user