BROKEN BUILD - Redoing framebuffer and documenting code better in preperation for denoising
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user