mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-13 19:01:24 +00:00
Fix CubeReflection's orientation
This commit is contained in:
parent
30f85cb484
commit
804fc749a0
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user