예제 #1
0
파일: OpenGL.cpp 프로젝트: kdawgwilk/school
// Your initialization code goes here.
void initMyStuff()
{
//    COLOR->push_back(255);
//    COLOR->push_back(0);
//    COLOR->push_back(0)
    createButtons();
    BUTTONS[2]->setActive(true);
    BUTTONS[10]->setActive(true);
    createSliders();
}
예제 #2
0
ViewerState::ViewerState(const std::string& stateID, GUI* gui, ModelViewer& modelViewer) : GUIState(stateID, gui) {
	createSliders();
	createOptions();
	p_modelViewer = &modelViewer;
}