示例#1
0
 public void color(float red, float green, float blue, float alpha) {
   Vec4 c = mVert.mColor;
   c.x = red;
   c.y = green;
   c.z = blue;
   c.w = alpha;
 }
示例#2
0
 public void colorub(int red, int green, int blue, int alpha) {
   Vec4 c = mVert.mColor;
   c.x = red / 255f;
   c.y = green / 255f;
   c.z = blue / 255f;
   c.w = alpha / 255f;
 }