This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //-------------------------------------------------------------- | |
| void ofxFontAnimator::saveWindow() | |
| { | |
| //save window settings | |
| ofWindowSettings AppWindow; | |
| AppWindow.setPosition(glm::vec2(ofGetWindowPositionX(), ofGetWindowPositionY())); | |
| AppWindow.setSize(ofGetWindowSize().x, ofGetWindowSize().y); | |
| AppWindow.windowMode = ofGetCurrentWindow()->getWindowMode(); | |
| ofJson j; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| string filepath = ofToDataPath(""); | |
| igl::readOBJ(filepath + "armadillo.obj", V, F); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static ImVec4 color; | |
| color.x = color_backGround.get().r; | |
| color.y = color_backGround.get().g; | |
| color.z = color_backGround.get().b; | |
| color.w = color_backGround.get().a; | |
| // squared box | |
| ImGuiColorEditFlags colorEdiFlags = | |
| ImGuiColorEditFlags_NoSmallPreview | | |
| ImGuiColorEditFlags_NoTooltip | |
NewerOlder