Tech ENABLE_GL_SHADERS_ATTRIBUTES - Fixed rendering of sidebar hints reference system

Fixed conflicts during rebase with master
This commit is contained in:
enricoturri1966 2022-03-10 14:42:05 +01:00
parent 155c3e8895
commit 8c95f47d4a
4 changed files with 31 additions and 6 deletions

View file

@ -48,7 +48,12 @@ public:
float get_tip_radius() const { return m_tip_radius; }
float get_tip_length() const { return m_tip_length; }
float get_total_length() const { return m_stem_length + m_tip_length; }
#if ENABLE_GL_SHADERS_ATTRIBUTES
void render(const Transform3d& trafo, float emission_factor = 0.0f);
#else
void render(float emission_factor = 0.0f);
#endif // ENABLE_GL_SHADERS_ATTRIBUTES
};
} // GUI