diff --git a/CameraController.cpp b/CameraController.cpp index eb24b24..fc3e4d6 100644 --- a/CameraController.cpp +++ b/CameraController.cpp @@ -5,8 +5,6 @@ #include "Demo.h" #include "AudioPlayer.h" -// TODO: FIX PAN AND TILT - CameraController::CameraController(){ yaw=0; pitch=0; @@ -193,4 +191,3 @@ void CameraController::update(Demo* demo) } g3dCamera.setCoordinateFrame(frame); } - diff --git a/main.cpp b/main.cpp index 642275b..cc463ae 100644 --- a/main.cpp +++ b/main.cpp @@ -1047,8 +1047,6 @@ void Demo::onGraphics(RenderDevice* rd) { renderDevice->setLight(0, GLight::directional(lighting.lightDirection, lighting.lightColor)); renderDevice->setAmbientLightColor(lighting.ambient); - Draw::box(Box(Vector3(-0.25, -0.25, -0.25), Vector3(0.25, 0.25, 0.25)), renderDevice, Color4(1,1,1,1), Color4::clear()); - dataModel->getWorkspace()->render(rd); if(selectedInstance != NULL) {