summaryrefslogtreecommitdiff
path: root/types/fx/shadow_data.c
diff options
context:
space:
mode:
Diffstat (limited to 'types/fx/shadow_data.c')
-rw-r--r--types/fx/shadow_data.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/types/fx/shadow_data.c b/types/fx/shadow_data.c
deleted file mode 100644
index d74cadc..0000000
--- a/types/fx/shadow_data.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include "scenefx/types/fx/shadow_data.h"
-
-struct shadow_data shadow_data_get_default(void) {
- return (struct shadow_data) {
- .blur_sigma = 20,
- .color = {0.0f, 0.0f, 0.0f, 0.5f},
- .enabled = false,
- .offset_x = 0.0f,
- .offset_y = 0.0f,
- };
-}
-
-bool scene_buffer_has_shadow(struct shadow_data *data) {
- return data->enabled && data->blur_sigma > 0 && data->color.a > 0.0;
-}