mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-13 08:21:03 -04:00
13 lines
223 B
C
13 lines
223 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
struct lab {
|
|
float l;
|
|
float a;
|
|
float b;
|
|
};
|
|
|
|
struct lab lab_from_rgb(uint32_t rgb);
|
|
uint32_t lab_to_rgb(struct lab c);
|
|
struct lab lab_lerp(float t, struct lab a, struct lab b);
|