diff --git a/Common/VertexArray.cpp b/Common/VertexArray.cpp index f154ec80312ea42476bc38041ab8a960deeb3916..3c8b72f249513deb6b7373fddea63b8179316c4b 100644 --- a/Common/VertexArray.cpp +++ b/Common/VertexArray.cpp @@ -1,4 +1,4 @@ -// $Id: VertexArray.cpp,v 1.21 2007-08-27 13:46:21 geuzaine Exp $ +// $Id: VertexArray.cpp,v 1.22 2007-08-27 23:33:48 geuzaine Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -32,7 +32,7 @@ VertexArray::VertexArray(int numVerticesPerElement, int numElements) int nb = (numElements ? numElements : 1) * numVerticesPerElement; _vertices.reserve(nb * 3); _normals.reserve(nb * 3); - _colors.reserve(nb *4); + _colors.reserve(nb * 4); } void VertexArray::add(float x, float y, float z, float n0, float n1, float n2,