mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-09-16 15:02:35 +02:00
Add client and debug utilities + cleanup
This commit is contained in:
15
r5dev/mathlib/color.h
Normal file
15
r5dev/mathlib/color.h
Normal 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];
|
||||
};
|
Reference in New Issue
Block a user