Searched refs:aCosMax (Results 1 – 3 of 3) sorted by relevance
592 float aCosMax = isInfinite ? theSmoothness :598 float aTmp = 1.f - aKsi2 * (1.f - aCosMax);606 thePDF = (aCosMax < 1.f) ? (thePDF / M_2_PI) / (1.f - aCosMax) : MAXFLOAT;617 float aCosMax = inversesqrt (1.f + theRadius * theRadius / (theDistance * theDistance));619 float aVisibility = step (aCosMax, dot (theInput, theToLight));621 thePDF *= step (-1.f, -aCosMax) * aVisibility * (1.f / M_2_PI) / (1.f - aCosMax);
595 " float aCosMax = isInfinite ? theSmoothness :\n"601 " float aTmp = 1.f - aKsi2 * (1.f - aCosMax);\n"609 " thePDF = (aCosMax < 1.f) ? (thePDF / M_2_PI) / (1.f - aCosMax) : MAXFLOAT;\n"620 " float aCosMax = inversesqrt (1.f + theRadius * theRadius / (theDistance * theDistance));\n"622 " float aVisibility = step (aCosMax, dot (theInput, theToLight));\n"624 " thePDF *= step (-1.f, -aCosMax) * aVisibility * (1.f / M_2_PI) / (1.f - aCosMax);\n"
1569 const Standard_Real aCosMax = Abs(aCosF) > Abs(aCosL) ? aCosF : aCosL; in Perform() local1571 if(aCosMax < 0.0) in Perform()