BROKEN BUILD - Redoing framebuffer and documenting code better in preperation for denoising

This commit is contained in:
Ben
2019-09-08 23:37:03 +01:00
parent 445a5ea058
commit ae9e4dbb73
8 changed files with 142 additions and 99 deletions

View File

@@ -42,10 +42,13 @@ void ProgressiveRenderer::Input() {
const Uint8* state = SDL_GetKeyboardState(NULL);
//if (state[SDL_SCANCODE_W]) m_scene->objects[0]->center.y += 0.01f;
//if (state[SDL_SCANCODE_S]) m_scene->objects[0]->center.y -= 0.01f;
//if (state[SDL_SCANCODE_D]) m_scene->objects[0]->center.x += 0.01f;
//if (state[SDL_SCANCODE_A]) m_scene->objects[0]->center.x -= 0.01f;
//if (state[SDL_SCANCODE_W]) m_scene->objects[1]->center.y += 0.001f;
//if (state[SDL_SCANCODE_S]) m_scene->objects[1]->center.y -= 0.001f;
//if (state[SDL_SCANCODE_D]) m_scene->objects[1]->center.x += 0.001f;
//if (state[SDL_SCANCODE_A]) m_scene->objects[1]->center.x -= 0.001f;
//if (state[SDL_SCANCODE_R]) m_scene->objects[1]->center.z += 0.001f;
//if (state[SDL_SCANCODE_F]) m_scene->objects[1]->center.z -= 0.001f;
//std::cout << m_scene->objects[1]->center.x << " " << m_scene->objects[1]->center.y << " " << m_scene->objects[1]->center.z << std::endl;
if (!m_interface->ImGui) return;