Lines Matching refs:col

61     return tex->col;  in standard_texture()
151 color col; in grit_texture() local
156 col.r = tex->col.r * fnum; in grit_texture()
157 col.g = tex->col.g * fnum; in grit_texture()
158 col.b = tex->col.b * fnum; in grit_texture()
160 return col; in grit_texture()
166 color col; in checker_texture() local
179 col.r = 1.0; in checker_texture()
180 col.g = 0.2; in checker_texture()
181 col.b = 0.0; in checker_texture()
184 col.r = 0.0; in checker_texture()
185 col.g = 0.2; in checker_texture()
186 col.b = 1.0; in checker_texture()
189 return col; in checker_texture()
196 color col; in cyl_checker_texture() local
210 col.r = 1.0; in cyl_checker_texture()
211 col.g = 0.2; in cyl_checker_texture()
212 col.b = 0.0; in cyl_checker_texture()
215 col.r = 0.0; in cyl_checker_texture()
216 col.g = 0.2; in cyl_checker_texture()
217 col.b = 1.0; in cyl_checker_texture()
220 return col; in cyl_checker_texture()
226 color col; in wood_texture() local
242 col.r = 0.8; in wood_texture()
243 col.g = 1.0; in wood_texture()
244 col.b = 0.2; in wood_texture()
247 col.r = 0.0; in wood_texture()
248 col.g = 0.0; in wood_texture()
249 col.b = 0.0; in wood_texture()
252 return col; in wood_texture()
339 color col; in marble_texture() local
361 col.r = (1.0 + sin(i * 6.28)) / 2.0; in marble_texture()
362 col.g = (1.0 + sin(i * 16.28)) / 2.0; in marble_texture()
363 col.b = (1.0 + cos(i * 30.28)) / 2.0; in marble_texture()
365 return col; in marble_texture()
369 color col; in gnoise_texture() local
379 col.r = tex->col.r * f; in gnoise_texture()
380 col.g = tex->col.g * f; in gnoise_texture()
381 col.b = tex->col.b * f; in gnoise_texture()
383 return col; in gnoise_texture()