public ccColor4B(ccColor4B copy) { r = copy.r; g = copy.g; b = copy.b; a = copy.a; }
/** Returns a ccColor4F from a ccColor4B. @since v0.99.1 */ public static ccColor4F ccc4FFromccc4B(ccColor4B c) { ccColor4F c4 = new ccColor4F(c.r / 255.0f, c.g / 255.0f, c.b / 255.0f, c.a / 255.0f); return c4; }
public ccV3F_C4B_T2F() { vertices = new ccVertex3F(); colors = new ccColor4B(); texCoords = new ccTex2F(); }
//! helper macro that creates an ccColor4B type public static ccColor4B ccc4(float r, float g, float b, float o) { ccColor4B c = new ccColor4B(r, g, b, o); return c; }
public ccPointSprite() { pos = new ccVertex2F(); color = new ccColor4B(); size = 0.0f; }