Files
CHOMPStation2/code/__defines/math_ch.dm
CHOMPStation2StaffMirrorBot 7bfffc808d [MIRROR] Adds Trait Genetics (#10142)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-02-13 15:41:59 +01:00

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()))