Update Files
This commit is contained in:
28
Kha/Backends/Kinc-hxcpp/khacpp/test/native/lib/LibInclude.h
Normal file
28
Kha/Backends/Kinc-hxcpp/khacpp/test/native/lib/LibInclude.h
Normal file
@ -0,0 +1,28 @@
|
||||
#ifndef LIB_INCLUDE_INCLUDED
|
||||
#define LIB_INCLUDE_INCLUDED
|
||||
|
||||
struct RGB
|
||||
{
|
||||
unsigned char r;
|
||||
unsigned char g;
|
||||
unsigned char b;
|
||||
|
||||
|
||||
RGB(int inR=0, int inG=0, int inB=0) :
|
||||
r(inR), g(inG), b(inB)
|
||||
{
|
||||
}
|
||||
|
||||
int getLuma();
|
||||
int toInt();
|
||||
};
|
||||
|
||||
struct Gradient
|
||||
{
|
||||
RGB colour0;
|
||||
RGB colour1;
|
||||
int steps;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user