Small refactoring in Bed3D and GLShader

This commit is contained in:
Enrico Turri 2019-02-27 15:19:03 +01:00
parent 6e9c030f17
commit 68805fc63a
5 changed files with 51 additions and 65 deletions

View file

@ -131,7 +131,7 @@ private:
EType detect_type(const Pointfs& shape) const;
#if ENABLE_TEXTURES_FROM_SVG
void render_prusa(const std::string& key, bool bottom) const;
void render_prusa_shader(unsigned int vertices_count, bool transparent) const;
void render_prusa_shader(bool transparent) const;
#else
void render_prusa(const std::string &key, float theta, bool useVBOs) const;
#endif // ENABLE_TEXTURES_FROM_SVG