diff --git a/examples/gl/areaLightExample/src/ofApp.cpp b/examples/gl/areaLightExample/src/ofApp.cpp index f14d9b9bc81..22b2ad94011 100644 --- a/examples/gl/areaLightExample/src/ofApp.cpp +++ b/examples/gl/areaLightExample/src/ofApp.cpp @@ -27,7 +27,7 @@ void ofApp::setup(){ camera.setFarClip(20000); - camera.move(0,0,3000); + camera.move(0,0,1000); } //-------------------------------------------------------------- diff --git a/examples/gl/pixelBufferExample/src/ofApp.cpp b/examples/gl/pixelBufferExample/src/ofApp.cpp index 39ba6459f9c..83d6567dc93 100644 --- a/examples/gl/pixelBufferExample/src/ofApp.cpp +++ b/examples/gl/pixelBufferExample/src/ofApp.cpp @@ -22,7 +22,7 @@ void ofApp::update(){ float zAngleRad = ofDegToRad(45.0); // Construct a quaternion. - glm::quat quat; + glm::quat quat(1,0,0,0); quat *= glm::angleAxis(xAngleRad, glm::vec3(1, 0, 0)); quat *= glm::angleAxis(yAngleRad, glm::vec3(0, 1, 0));