Searched refs:bound2 (Results 1 – 8 of 8) sorted by relevance
158 float bound2 = 0.25f * (scale[0] * scale[0] + scale[1] * scale[1]); in updateProgramParams() local159 float bound = (float) Math.sqrt(bound2); in updateProgramParams()163 (float) Math.atan(alpha / bound * (float) Math.sqrt(radius2 - bound2)); in updateProgramParams()
37 const float bound2 = 0.25f * (axis_scale.x*axis_scale.x + axis_scale.y*axis_scale.y);38 const float bound = sqrt(bound2);41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
39 const float bound2 = 0.25f * (axis_scale.x*axis_scale.x + axis_scale.y*axis_scale.y);40 const float bound = sqrt(bound2);43 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));