Or, at least a few seconds into the past…
Major steps ‘forward’ on my time machine simulator today. Seeing the beauty of classes to really keep your code clean & efficient. My main draw loop now looks like this:
void testApp::draw() {
ofTranslate(fullWindowWidth/2,fullWindowHeight/2); ofViewport(0, ofGetWindowHeight()/2, ofGetWindowWidth(), ofGetWindowHeight()/2); myMesh->updateMesh(smoothPZ, smoothDiffX, smoothDiffY, transZ); ofViewport(0, 0, ofGetWindowWidth(), [...]




Recent Comments