From 11ed44c13c227c73d9b2ec416aed54b00bda2a0a Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Tue, 18 Nov 2014 09:49:02 +0200 Subject: Support larger custom meshes. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Vertex index was limited to unsigned short, meaning even slightly complex meshes couldn't be used. Changed to unsigned int. Also removed unused vertex indexer methods. Change-Id: Iebe62bd3a501dc79ee2857cca28ac0d05bd4a55e Reviewed-by: Tomi Korpipää --- src/datavisualization/utils/abstractobjecthelper_p.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/datavisualization/utils/abstractobjecthelper_p.h') diff --git a/src/datavisualization/utils/abstractobjecthelper_p.h b/src/datavisualization/utils/abstractobjecthelper_p.h index bca765d7..b141a132 100644 --- a/src/datavisualization/utils/abstractobjecthelper_p.h +++ b/src/datavisualization/utils/abstractobjecthelper_p.h @@ -45,7 +45,6 @@ public: virtual GLuint uvBuf(); GLuint elementBuf(); GLuint indexCount(); - GLuint indicesType(); public: GLuint m_vertexbuffer; @@ -55,8 +54,6 @@ public: GLuint m_indexCount; GLboolean m_meshDataLoaded; - - GLuint m_indicesType; }; QT_END_NAMESPACE_DATAVISUALIZATION -- cgit v1.2.3