Searched refs:opening_or_closing_progress (Results 1 – 1 of 1) sorted by relevance
28 float opening_or_closing_progress = 1.f; variable790 glVertex2f(0, opening_or_closing_progress*(float)(topPos+height)); in Render()791 glVertex2f((float) width, opening_or_closing_progress*(float)(topPos+height)); in Render()852 if (state == OPENING) opening_or_closing_progress += (float)Timer::frametime/openSpeed; in Update()853 if (state == CLOSING) opening_or_closing_progress -= (float)Timer::frametime/closeSpeed; in Update()854 …if (opening_or_closing_progress >= 1.f && state == OPENING) { state = OPEN; opening_or_closing_pro… in Update()855 …if (opening_or_closing_progress <= 0.f && state == CLOSING) { state = CLOSED; opening_or_closing_p… in Update()859 if (state == OPENING) { state = OPEN; opening_or_closing_progress = 1.f; } in Update()860 if (state == CLOSING) { state = CLOSED; opening_or_closing_progress = 0.f;} in Update()1036 opening_or_closing_progress = 1.f; in SetState()[all …]