Home
last modified time | relevance | path

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

/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/Fog/
DFog.cpp335 float dx = f * (1.0f / (float)(step - 1)); in DrawFrame() local
336 s_FogColor[0] = 0.2f + dx * (1.0f - 0.2f); in DrawFrame()
337 s_FogColor[1] = 0.4f + dx * (1.0f - 0.4f); in DrawFrame()
338 s_FogColor[2] = 0.6f + dx * (1.0f - 0.6f); in DrawFrame()