diff options
author | nathansmith117 <nathansmith117@sdf.org> | 2025-02-03 15:43:19 +0000 |
---|---|---|
committer | nathansmith117 <nathansmith117@sdf.org> | 2025-02-03 15:43:19 +0000 |
commit | 69733d1f2171978e3d15078d24323af39d54c518 (patch) | |
tree | 4dacf17246b9a873fb1f505968eecac899e684fe /test | |
parent | 305c224104be6558f2ece595a47cf29348b60d66 (diff) | |
download | sldj-69733d1f2171978e3d15078d24323af39d54c518.tar.gz sldj-69733d1f2171978e3d15078d24323af39d54c518.tar.bz2 sldj-69733d1f2171978e3d15078d24323af39d54c518.zip |
Scripting working so far
Diffstat (limited to 'test')
-rw-r--r-- | test/scanTest1.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/scanTest1.c b/test/scanTest1.c new file mode 100644 index 0000000..e14a620 --- /dev/null +++ b/test/scanTest1.c @@ -0,0 +1,15 @@ +#include <stdio.h> +#include <stdint.h> + +typedef struct Color { + unsigned char r; + unsigned char g; + unsigned char b; + unsigned char a; +} Color; + +Color lineScanner(uint16_t x, uint16_t y, uint32_t frameNumber) +{ + return (Color){.r = 0, .g = 0, .b = 255, .a = 255}; +} + |