summaryrefslogtreecommitdiff
path: root/color.h
blob: 61a5a56b1f5df76a98d5726ef61a3d4e7fa5908a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _nebula2_color_h_
#define _nebula2_color_h_

typedef struct {
	int r, g, b;
} color_t;

extern color_t color_fix(color_t col);
extern color_t color_add(color_t a, color_t b);
extern color_t color_mul(color_t col, double s);

#endif