PacktPublishing / Mastering-Graphics-Programming-with-Vulkan

MIT License
562 stars 77 forks source link

projected_p does not get negated. #55

Closed FlexW closed 5 months ago

FlexW commented 6 months ago

Shouldn't the projected_p here and in the following lines negated like in the book on page 168: https://github.com/PacktPublishing/Mastering-Graphics-Programming-with-Vulkan/blob/a03272b227a64a85a7b32b89ee5362671835f7d6/source/chapter7/graphics/render_scene.cpp#L2104

theWatchmen commented 6 months ago

I think this could be a typo in the book or we changed something in the implementation after we wrote the chapter and forgot to update it. The code is correct, if you restored the negative sign the rendering will be wrong.

theWatchmen commented 5 months ago

Closing for lack of activity.