blob: 06057f25bd8f3bd69c41e2c5744093e42eb2f3d3 (
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 = random() % 255, .g = random() % 255, .b = random() % 255, .a = 255};
}
|