Home
last modified time | relevance | path

Searched refs:clampF (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/opengl/libagl/
Dlight.cpp112 static inline int32_t clampF(GLfixed f) CONST;
113 int32_t clampF(GLfixed f) { in clampF() function
121 return clampF(gglMulx((c->fog.end - ((z<0)?-z:z)), c->fog.invEndMinusStart)); in fog_linear()
126 return clampF(gglFloatToFixed(fastexpf(-e))); in fog_exp()
131 return clampF(gglFloatToFixed(fastexpf(-e*e))); in fog_exp2()