void drawTree(void) { mvstack.push(model_view); set_colour(.4, .2, .1); model_view *= Scale (3, 8, 3); model_view *= RotateX(90); drawTrunk(); model_view = mvstack.pop(); mvstack.push(model_view); model_view *= Translate(0, 5, 0); model_view *= RotateX(90); drawGreen(); model_view = mvstack.pop(); }
void drawGreenscreen() { SDL_Widget* green_label = drawGreen(); SDL_WidgetClose(green_label); refreshWin(); }
void user_process1() { drawGreen(); sys_yield(); }