Searched refs:LOG2 (Results 1 – 14 of 14) sorted by relevance
10 const float LOG2 = 1.442695;17 float fogFactor = exp2( -m_FogDensity * m_FogDensity * depth * depth * LOG2 );
13 const float LOG2 = 1.442695;20 float fogFactor = exp2( -m_FogDensity * m_FogDensity * depth * depth * LOG2 );
167 static inline GLfloat LOG2(GLfloat x)179 static inline GLfloat LOG2(GLfloat val) in LOG2() function195 #define LOG2(x) ((GLfloat) (log(x) * 1.442695F)) macro
114 #define LOG2 0.69314718056f /* natural logarithm of 2 */ macro
121 const float LOG2 = 1.442695;198 fogFactor = exp2( -fogIntensity * fogIntensity * cameraDepth * 0.03 * LOG2 );218 fogFactor = exp2( -fogIntensity * fogIntensity * fogDepth * fogDepth * LOG2 );
117 const float LOG2 = 1.442695;200 fogFactor = exp2( -fogIntensity * fogIntensity * cameraDepth * 0.03 * LOG2 );220 fogFactor = exp2( -fogIntensity * fogIntensity * fogDepth * fogDepth * LOG2 );
269 private static final double LOG2 = Math.log(2); field in ImageToAwt279 int expectedMipmaps = 1 + (int) Math.ceil(Math.log(Math.max(h, w)) / LOG2); in createData()
96 private static final double LOG2 = Math.log(2); field in DDSLoader222 int expectedMipmaps = 1 + (int) Math.ceil(Math.log(Math.max(height, width)) / LOG2); in loadHeader()
425 GLfloat lambda = LOG2(rho); in _swrast_compute_lambda()452 lambda = LOG2(rho);
1959 lod = 0.5 * LOG2(Pmin2); in sample_lambda_2d_aniso()
96 #define LOG2 0.69314718056f /* natural logarithm of 2 */ macro