Searched refs:cosf (Results 1 – 2 of 2) sorted by relevance
184 float cosf = FloatMath.cos(PI * 0.25f * glowDistance / glowManager.radius); in getAlphaForPoint() local185 glowAlpha = glowManager.alpha * max(0.0f, (float) Math.pow(cosf, 10.0f)); in getAlphaForPoint()193 float cosf = FloatMath.cos(PI * 0.25f * distanceToWaveRing / waveManager.width); in getAlphaForPoint() local194 waveAlpha = waveManager.alpha * max(0.0f, (float) Math.pow(cosf, 20.0f)); in getAlphaForPoint()