src/gl/compiler.h

changeset 333
07e65a4c6611
parent 309
d862721d19a3
child 338
719b909a7d2b
--- a/src/gl/compiler.h	Mon Jul 04 15:37:22 2022 +0300
+++ b/src/gl/compiler.h	Mon Jul 04 19:53:13 2022 +0300
@@ -27,7 +27,6 @@
 #include "src/model.h"
 #include "src/gl/common.h"
 
-class Model;
 class DocumentManager;
 
 namespace gl
@@ -80,9 +79,9 @@
 	void initializeModelShaders(ModelShaders* modelShaders);
 	void bindModelShaderVertexArray(gl::ModelShaders* shaders, gl::ArrayClass arrayClass);
 	void releaseModelShaderVertexArray(gl::ModelShaders* shaders, gl::ArrayClass arrayClass);
-	void setModelShaderSelectedObjects(gl::ModelShaders* shaders, const QSet<ElementId>& ids);
+	//void setModelShaderSelectedObjects(gl::ModelShaders* shaders, const QSet<ElementId>& ids);
 	std::size_t vertexCount(const ModelShaders *shaders, gl::ArrayClass arrayClass);
-	ElementId idFromUcharColor(const std::array<GLubyte, 3>& data);
+	int idFromUcharColor(const std::array<GLubyte, 3>& data);
 
 	template<typename... Ts>
 	void setShaderUniform(gl::ModelShaders* shaders, const char* uniformName, Ts&&... args)

mercurial