Tutorials (CornellBox and CornellBoxShadow) use wrong number of vertices #181
Open
Description
In the CreateMesh call, nvert is passed as:
int nvert = objshape.mesh.positions.size()
but objshape.mesh.position is a std::vector<float> not a std::vector<float3> so this should really be:
int nvert = objshape.mesh.positions.size() / 3
Metadata
Assignees
Labels
No labels