From fe9b718f8978cfd792f7303214b2dd45172b8d4b Mon Sep 17 00:00:00 2001 From: nathansmith117 Date: Tue, 4 Feb 2025 04:29:07 -0700 Subject: Working on script context --- test/scanTest2.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/scanTest2.c (limited to 'test/scanTest2.c') diff --git a/test/scanTest2.c b/test/scanTest2.c new file mode 100644 index 0000000..40c82fe --- /dev/null +++ b/test/scanTest2.c @@ -0,0 +1,12 @@ +#include +#include +#include +#include + +#include "libsldj/util.h" + +Color lineScanner(uint16_t x, uint16_t y, uint32_t frameNumber) +{ + return (Color){.r = x % 100 == 1 ? 255 : 0, .g = 0, .b = 0, .a = 255}; +} + -- cgit v1.2.3