Lines Matching refs:c2
89 add : function(c1, c2){
92 result.red = c1.red + c2.red;
93 result.green = c1.green + c2.green;
94 result.blue = c1.blue + c2.blue;
111 subtract: function(c1, c2){
114 result.red = c1.red - c2.red;
115 result.green = c1.green - c2.green;
116 result.blue = c1.blue - c2.blue;
121 multiply : function(c1, c2) {
124 result.red = c1.red * c2.red;
125 result.green = c1.green * c2.green;
126 result.blue = c1.blue * c2.blue;
162 blend: function(c1, c2, w){
166 Flog.RayTracer.Color.prototype.multiplyScalar(c2, w)