summaryrefslogtreecommitdiff
path: root/src/elements/goo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/goo.cpp')
-rw-r--r--src/elements/goo.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/elements/goo.cpp b/src/elements/goo.cpp
deleted file mode 100644
index 6e66468..0000000
--- a/src/elements/goo.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "simulation/Element.h"
-
-int update_GOO(UPDATE_FUNC_ARGS) {
- if (!parts[i].life && sim->pv[y/CELL][x/CELL]>1.0f)
- parts[i].life = rand()%80+300;
- if (parts[i].life)
- {
- float advection = 0.1f;
- parts[i].vx += advection*sim->vx[y/CELL][x/CELL];
- parts[i].vy += advection*sim->vy[y/CELL][x/CELL];
- }
- return 0;
-}