From 41d0c60d49661ddc4c7b78a4cf4714d4e5af3c4b Mon Sep 17 00:00:00 2001 From: Daniel Chappuis Date: Tue, 1 Mar 2016 18:40:22 +0100 Subject: [PATCH] Fix compilation errors on Visual Studio --- testbed/common/HeightField.cpp | 10 +++++----- testbed/opengl-framework/src/Mesh.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/testbed/common/HeightField.cpp b/testbed/common/HeightField.cpp index a22f8cf0..58dc6af4 100644 --- a/testbed/common/HeightField.cpp +++ b/testbed/common/HeightField.cpp @@ -223,7 +223,7 @@ void HeightField::generateHeightField() { // Generate the graphics mesh to render the height field void HeightField::generateGraphicsMesh() { - std::vector indices; + std::vector indices; int vertexId = 0; for (int i=0; i > mIndices; + std::vector > mIndices; // Vertices coordinates (local space) std::vector mVertices;