Lines Matching refs:c1
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;
99 addScalar: function(c1, s){
102 result.red = c1.red + s;
103 result.green = c1.green + s;
104 result.blue = c1.blue + s;
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;
131 multiplyScalar : function(c1, f) {
134 result.red = c1.red * f;
135 result.green = c1.green * f;
136 result.blue = c1.blue * f;
141 divideFactor : function(c1, f) {
144 result.red = c1.red / f;
145 result.green = c1.green / f;
146 result.blue = c1.blue / f;
162 blend: function(c1, c2, w){
165 Flog.RayTracer.Color.prototype.multiplyScalar(c1, 1 - w),
727 var c1 = -N.dot(V);
729 Flog.RayTracer.Vector.prototype.multiplyScalar(N, 2*c1),