Final cleanup
This commit is contained in:
@@ -5,8 +5,6 @@
|
|||||||
#include "Demo.h"
|
#include "Demo.h"
|
||||||
#include "AudioPlayer.h"
|
#include "AudioPlayer.h"
|
||||||
|
|
||||||
// TODO: FIX PAN AND TILT
|
|
||||||
|
|
||||||
CameraController::CameraController(){
|
CameraController::CameraController(){
|
||||||
yaw=0;
|
yaw=0;
|
||||||
pitch=0;
|
pitch=0;
|
||||||
@@ -193,4 +191,3 @@ void CameraController::update(Demo* demo)
|
|||||||
}
|
}
|
||||||
g3dCamera.setCoordinateFrame(frame);
|
g3dCamera.setCoordinateFrame(frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
main.cpp
2
main.cpp
@@ -1047,8 +1047,6 @@ void Demo::onGraphics(RenderDevice* rd) {
|
|||||||
renderDevice->setLight(0, GLight::directional(lighting.lightDirection, lighting.lightColor));
|
renderDevice->setLight(0, GLight::directional(lighting.lightDirection, lighting.lightColor));
|
||||||
renderDevice->setAmbientLightColor(lighting.ambient);
|
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);
|
dataModel->getWorkspace()->render(rd);
|
||||||
if(selectedInstance != NULL)
|
if(selectedInstance != NULL)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user