JavaCPP doesnt recognize
// pixel
struct alignas(16) Pixel
{
UNIGINE_INLINE Pixel() {}
UNIGINE_INLINE Pixel(int r, int g = 0, int b = 0, int a = 0)
{
i.r = r;
i.g = g;
i.b = b;
i.a = a;
}
UNIGINE_INLINE Pixel(float r, float g = 0.0f, float b = 0.0f, float a = 0.0f)
{
f.r = r;
f.g = g;
f.b = b;
f.a = a;
}
union
{
Pixeli i;
Pixelf f;
};
};
ITs more standard way to align
check out on stackoverflow:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4