Skip to content

[Bug Report] Missing MeshData edits in Chapter 7 #99

@Rusettsten

Description

@Rusettsten

In Chapter 7, the book says:

We need to modify the MeshData class to include texture coordinates:

package org.vulkanb.eng.model;

public record MeshData(String id, float[] positions, int[] indices) {
}

However, it does not actually show us the edits that need to be performed. The chapter should be revised to fit the code in the booksamples:

package org.vulkanb.eng.model;

public record MeshData(String id, float[] positions, float[] textCoords, int[] indices) {
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions