This file contains 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
########################################## | |
# | |
# c.f. http://stackoverflow.com/questions/3520977/build-fat-static-library-device-simulator-using-xcode-and-sdk-4 | |
# | |
# Version 2.82 | |
# | |
# Latest Change: | |
# - MORE tweaks to get the iOS 10+ and 9- working | |
# - Support iOS 10+ | |
# - Corrected typo for iOS 1-10+ (thanks @stuikomma) |
This file contains 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 yourApp::renderTiles() | |
{ | |
//the size here doesn't matter, but it will get distorted if it's not the same ratio as your window | |
gl::TileRender tr( getWindowWidth()*4, getWindowHeight()*4 ); | |
//use the default cinder view to render from | |
tr.setMatricesWindow(getWindowWidth(), getWindowHeight()); | |
while( tr.nextTile() ) { | |
draw(); | |
} |
NewerOlder