From b0eef16fa99afad0ce1ea8453f3889b1368bcda0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 28 Aug 2011 22:17:50 +0200 Subject: [PATCH] Non-const accessors to MeshBuilder data, allowing direct modification. --- src/MeshBuilder.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MeshBuilder.h b/src/MeshBuilder.h index 199ef1c57..b5caca1ac 100644 --- a/src/MeshBuilder.h +++ b/src/MeshBuilder.h @@ -86,9 +86,11 @@ template class MeshBuilder { /** @brief Array with vertices */ inline const std::vector& vertices() const { return _vertices; } + inline std::vector& vertices() { return _vertices; } /** @brief Array with faces */ inline const std::vector& faces() const { return _faces; } + inline std::vector& faces() { return _faces; } /** * @brief Set mesh data