mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-17 13:24:45 +00:00
Experiment: remove global.h dependency from sys_math, sys_math3d, z_lib (#1956)
* split sys_math, sys_math3d, z_lib from global.h * suggestions * forgot this * more math stuff * nit fix * re-add ichain.h * resolve tharo's comments
This commit is contained in:
parent
06bbdf88f1
commit
8d83727429
33 changed files with 289 additions and 220 deletions
15
include/rand.h
Normal file
15
include/rand.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
#ifndef RAND_H
|
||||
#define RAND_H
|
||||
|
||||
#include "ultra64.h"
|
||||
|
||||
u32 Rand_Next(void);
|
||||
void Rand_Seed(u32 seed);
|
||||
f32 Rand_ZeroOne(void);
|
||||
f32 Rand_Centered(void);
|
||||
void Rand_Seed_Variable(u32* rndNum, u32 seed);
|
||||
u32 Rand_Next_Variable(u32* rndNum);
|
||||
f32 Rand_ZeroOne_Variable(u32* rndNum);
|
||||
f32 Rand_Centered_Variable(u32* rndNum);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue