aboutsummaryrefslogtreecommitdiffstats
path: root/test/scanTest1.c
blob: e14a620e004c8d97e9961a5cdbdd52a251c90d14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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};
}