mirror of
https://github.com/goonstation/goonstation-2016.git
synced 2026-08-23 22:16:13 +01:00
Initial Commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#define EULERS_NUMBER 2.71828
|
||||
|
||||
proc/gaussian(var/amplitude, var/spread, var/dx, var/dy)
|
||||
return amplitude * (
|
||||
EULERS_NUMBER ** (\
|
||||
-1 * (\
|
||||
dx ** 2 / (2 * spread ** 2)\
|
||||
+ dy ** 2 / (2 * spread ** 2)\
|
||||
)\
|
||||
)\
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user