Skip to content

Inconsistency in chapter "Rendering Mutliple Objects" with previous chapters and crash on close #375

@sheepy676

Description

@sheepy676

While following the chapter on "Rendering Multiple objects" I noticed that in the updateUniformBuffers() function the up vector in glm::lookAt changes from Z to Y. This change isn't explained, so someone who isn't copying the whole snippet and doesn't notice the change could run into problems as in the setupGameObjects() function the variables are set assuming this change.

This chapter also doesn't show or tell that the cleanup() function was changed leading to a crash when the window is closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions