1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:37:46 +00:00

3DFileViewer: Add texture menu

This allows setting different texture wrap modes
and setting different texture coordinate scale factors.
This commit is contained in:
Stephan Unverwerth 2021-08-11 23:43:28 +02:00 committed by Andreas Kling
parent b9523e15df
commit 75bc7be622
3 changed files with 103 additions and 6 deletions

View file

@ -22,7 +22,7 @@ public:
size_t triangle_count() const { return m_triangle_list.size(); }
void draw();
void draw(float uv_scale);
bool is_textured() const { return m_tex_coords.size() > 0; }