Skip to content

Commit

Permalink
Update point cloud rendering.
Browse files Browse the repository at this point in the history
  • Loading branch information
prisonerjohn committed Oct 7, 2019
1 parent 18d97df commit 5dbbfc4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion example/src/ofApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ void ofApp::draw()
}

this->cam.begin();
ofEnableDepthTest();
ofPushMatrix();
ofScale(10);
ofScale(100);
{
auto it = this->context.getDevices().begin();
while (it != this->context.getDevices().end())
Expand All @@ -75,6 +76,7 @@ void ofApp::draw()
}
}
ofPopMatrix();
ofDisableDepthTest();
this->cam.end();

ofDrawBitmapString(ofToString(ofGetFrameRate()), 10, 10);
Expand Down

0 comments on commit 5dbbfc4

Please sign in to comment.