From 804fc749a079f04fd243fbf24529ee85ecb3aeae Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Tue, 3 Jul 2018 14:43:46 +0200 Subject: [PATCH] Fix CubeReflection's orientation --- examples/CubeReflection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/CubeReflection.cpp b/examples/CubeReflection.cpp index 3423a9a715..d925a45b49 100644 --- a/examples/CubeReflection.cpp +++ b/examples/CubeReflection.cpp @@ -269,7 +269,7 @@ void frame() { cameraData.view = glm::lookAt( glm::vec3(8.f * std::sin(glm::radians(s.b * 360.f)), 2.f, 8.f * std::cos(glm::radians(s.b * 360.f))), glm::vec3(0.0f, 0.0f, 0.0f), - glm::vec3(0.0f, 1.0f, 0.0f) + glm::vec3(0.0f, -1.0f, 0.0f) ); cameraBuffer.TransitionUsage(nxt::BufferUsageBit::TransferDst);