From f79699d4c8b40e43847ec5f75993b5a39b598e53 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Mon, 12 Dec 2022 20:01:25 -0800 Subject: plasma-node: link infects_rate_smoothed to plasma For now just scale the intensity of the plasma by the infections rate. When the infections rate sustain the maximum rate, the plasma eventually turns black. Will probably have to iterate a bit on this --- src/plasma-node.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plasma-node.h') diff --git a/src/plasma-node.h b/src/plasma-node.h index 2c52431..9f2dc47 100644 --- a/src/plasma-node.h +++ b/src/plasma-node.h @@ -21,6 +21,6 @@ typedef struct m4f_t m4f_t; typedef struct stage_t stage_t; typedef struct stage_conf_t stage_conf_t; -stage_t * plasma_node_new(const stage_conf_t *conf, m4f_t *projection_x); +stage_t * plasma_node_new(const stage_conf_t *conf, m4f_t *projection_x, float *gloom); #endif -- cgit v1.2.3