virtual void resetCamera(float camDist, float pitch, float yaw, float camPosX,float camPosY, float camPosZ) { m_camera.setCameraDistance(camDist); m_camera.setCameraPitch(pitch); m_camera.setCameraYaw(yaw); m_camera.setCameraTargetPosition(camPosX,camPosY,camPosZ); m_camera.setAspectRatio((float)m_swWidth/(float)m_swHeight); m_camera.update(); }
virtual void setUpAxis(int axis) { m_upAxis = axis; m_camera.setCameraUpAxis(axis); m_camera.update(); }