Start messing around with transmitter special rendering. Still can't see anything

This commit is contained in:
aidancbrady committed 2016-05-20 15:57:13 -04:00
1 parent 87d2305860
commit dff7e68916
8 files changed
+486 -109

No files matched your search

+17 -1
View File
@@ -5,5 +5,21 @@ package mekanism.common;
*/
public class ColourRGBA
{
public ColourRGBA(double r, double g, double b, double a) {}
public byte r;
public byte g;
public byte b;
public byte a;
public ColourRGBA(double d1, double d2, double d3, double d4)
{
r = (byte)d1;
g = (byte)d2;
b = (byte)d3;
a = (byte)d4;
}
public int rgba()
{
return (r & 0xFF) << 24 | (g & 0xFF) << 16 | (b & 0xFF) << 8 | (a & 0xFF);
}
}