Fix typos in documentation
Add variable type in declaration Fix PolygonaVertexArray -> PolygonVertexArray
This commit is contained in:
parent
fa05e1561e
commit
68212e26d8
|
@ -1201,7 +1201,7 @@ indices[16]=2; indices[17]=3; indices[18]=7; indices[19]=6;
|
||||||
indices[20]=0; indices[21]=4; indices[22]=7; indices[23]=3;
|
indices[20]=0; indices[21]=4; indices[22]=7; indices[23]=3;
|
||||||
|
|
||||||
// Description of the six faces of the convex mesh
|
// Description of the six faces of the convex mesh
|
||||||
polygonFaces = new PolygonVertexArray::PolygonFace[6];
|
PolygonVertexArray::PolygonFace* polygonFaces = new PolygonVertexArray::PolygonFace[6];
|
||||||
PolygonVertexArray::PolygonFace* face = polygonFaces;
|
PolygonVertexArray::PolygonFace* face = polygonFaces;
|
||||||
for (int f = 0; f < 6; f++) {
|
for (int f = 0; f < 6; f++) {
|
||||||
|
|
||||||
|
@ -1215,7 +1215,7 @@ for (int f = 0; f < 6; f++) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create the polygon vertex array
|
// Create the polygon vertex array
|
||||||
PolygonaVertexArray* polygonVertexArray = new PolygonVertexArray(8, vertices, 3 x sizeof(float),
|
PolygonVertexArray* polygonVertexArray = new PolygonVertexArray(8, vertices, 3 x sizeof(float),
|
||||||
indices, sizeof(int), 6, polygonFaces,
|
indices, sizeof(int), 6, polygonFaces,
|
||||||
PolygonVertexArray::VertexDataType::VERTEX_FLOAT_TYPE,
|
PolygonVertexArray::VertexDataType::VERTEX_FLOAT_TYPE,
|
||||||
PolygonVertexArray::IndexDataType::INDEX_INTEGER_TYPE);
|
PolygonVertexArray::IndexDataType::INDEX_INTEGER_TYPE);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user