Add client and debug utilities + cleanup

This commit is contained in:
Amos
2022-01-04 11:53:54 +01:00
parent 477152b354
commit 84e7729ca0
16 changed files with 161 additions and 29 deletions

15
r5dev/mathlib/color.h Normal file
View File

@@ -0,0 +1,15 @@
#pragma once
class Color
{
public:
Color(int r, int g, int b, int a)
{
_color[0] = (unsigned char)r;
_color[1] = (unsigned char)g;
_color[2] = (unsigned char)b;
_color[3] = (unsigned char)a;
}
private:
unsigned char _color[4];
};