Home | History | Annotate | Download | only in gradients

Lines Matching full:c_str

251                                args.fCoords[0].c_str(), args.fCoords[0].c_str(),
252 args.fCoords[1].c_str(), args.fCoords[1].c_str());
256 coords2D = args.fCoords[0].c_str();
257 bVar.printf("%s.x", args.fCoords[1].c_str());
266 cName.c_str(), coords2D, coords2D, p1.c_str());
269 fragBuilder->codeAppendf("\tfloat %s = -(%s / %s);\n", tName.c_str(),
270 cName.c_str(), bVar.c_str());
273 fragBuilder->codeAppendf("\tif (%s * %s + %s > 0.0) {\n", tName.c_str(),
274 p2.c_str(), p0.c_str());
280 tName.c_str(),
526 const char* coords2D = coords2DString.c_str();
536 fragBuilder->codeAppendf("\tfloat d = xs + %s * ys;\n", p1.c_str());
541 fragBuilder->codeAppendf("\tfloat %s = %s.x * %s + sqrt(d);\n", tName.c_str(),
542 coords2D, p0.c_str());
544 fragBuilder->codeAppendf("\tfloat %s = %s.x * %s - sqrt(d);\n", tName.c_str(),
545 coords2D, p0.c_str());
548 fragBuilder->codeAppendf("\tif (%s >= 0.0 && d >= 0.0) {\n", tName.c_str());
554 tName.c_str(),
735 const char* coords2D = coords2DString.c_str();
738 fragBuilder->codeAppendf("\tfloat %s = %s.x * %s + length(%s);\n", tName.c_str(),
739 coords2D, focal.c_str(), coords2D);
745 tName.c_str(),
992 const char* coords2D = coords2DString.c_str();
1003 fragBuilder->codeAppendf("\tfloat d = dot(%s, %s) + %s.y;\n", coords2D, center.c_str(),
1004 params.c_str());
1006 tName.c_str(), params.c_str(), params.c_str());
1012 tName.c_str(),
1229 const char* coords2D = coords2DString.c_str();
1245 fragBuilder->codeAppendf("\tfloat d = dot(%s, %s) + %s.y;\n", coords2D, center.c_str(),
1246 params.c_str());
1247 fragBuilder->codeAppendf("\tfloat deter = d * d - %s.x * pDotp + %s.z;\n", params.c_str(),
1248 params.c_str());
1253 fragBuilder->codeAppendf("\tfloat %s = d + sqrt(deter);\n", tName.c_str());
1255 fragBuilder->codeAppendf("\tfloat %s = d - sqrt(deter);\n", tName.c_str());
1259 tName.c_str(), params.c_str());
1265 tName.c_str(),