mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
9 lines
234 B
Plaintext
9 lines
234 B
Plaintext
//Proc to check if a flag is active to use in universal math
|
|
/proc/global_flag_check(element, flag)
|
|
if(element & flag)
|
|
return 1
|
|
else
|
|
return 0
|
|
|
|
#define GAUSSIAN_RANDOM(vars...) ((-2*log(rand()))**0.5 * cos(6.28318530718*rand()))
|