RGBAQUADF(UInt32 rgba) { r = (float)MASK.getR8(rgba) / 255.0f; g = (float)MASK.getG8(rgba) / 255.0f; b = (float)MASK.getB8(rgba) / 255.0f; a = (float)MASK.getA8(rgba) / 255.0f; }
public RGBAQUAD(UInt32 rgba) { r = MASK.getR8(rgba); g = MASK.getG8(rgba); b = MASK.getB8(rgba); a = MASK.getA8(rgba); }