Lines Matching refs:g

4592       var r, g, b, a;
4597 g = rgb[1];
4601 g = Math.round(255 * (aValue2 / colorModeY));
4609 g = (g > 255) ? 255 : g;
4614 …return (a << 24) & PConstants.ALPHA_MASK | (r << 16) & PConstants.RED_MASK | (g << 8) & PConstants…
4686 p.color.toInt = function(r, g, b, a) { argument
4687 …return (a << 24) & PConstants.ALPHA_MASK | (r << 16) & PConstants.RED_MASK | (g << 8) & PConstants…
4828 var g = parseInt(p.lerp(g1, g2, amt), 10);
4832 return p.color.toInt(r, g, b, a);
6522 p.ambientLight = function(r, g, b, x, y, z) { argument
6535 uniformf(programObject3D, "lights[" + lightCount + "].color", [r / 255, g / 255, b / 255]);
6542 p.directionalLight = function(r, g, b, nx, ny, nz) { argument
6559 uniformf(programObject3D, "lights[" + lightCount + "].color", [r / 255, g / 255, b / 255]);
6573 p.lightSpecular = function lightSpecular(r, g, b) { argument
6576 uniformf(programObject3D, "specular", [r / 255, g / 255, b / 255]);
6592 p.pointLight = function(r, g, b, x, y, z) { argument
6607 uniformf(programObject3D, "lights[" + lightCount + "].color", [r / 255, g / 255, b / 255]);
6633 p.spotLight = function spotLight(r, g, b, x, y, z, nx, ny, nz, angle, concentration) { argument
6657 uniformf(programObject3D, "lights[" + lightCount + "].color", [r / 255, g / 255, b / 255]);
9581 var g = p.green(tintColor) / colorModeY;
9590 data[i++] *= g;
10024 g: 0, property in p.shared
10097 …p.shared.g = ((p.shared.ul * (p.shared.cUL & PConstants.GREEN_MASK) + p.shared.ll * (p.shared.cLL …
10105 return p.shared.a | p.shared.r | p.shared.g | p.shared.b;