Fix issue in user manual

This commit is contained in:
Daniel Chappuis 2020-08-19 00:20:22 +02:00
parent 769235b4f6
commit d464c7f8fb

View File

@ -1215,7 +1215,7 @@ for (int f = 0; f < 6; f++) {
}
// Create the polygon vertex array
PolygonaVertexArray* polygonVertexArray = new PolygonVertexArray(8, vertices, 3 x sizeof(float),
PolygonVertexArray* polygonVertexArray = new PolygonVertexArray(8, vertices, 3 * sizeof(float),
indices, sizeof(int), 6, polygonFaces,
PolygonVertexArray::VertexDataType::VERTEX_FLOAT_TYPE,
PolygonVertexArray::IndexDataType::INDEX_INTEGER_TYPE);