mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:37:35 +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:
parent
b9523e15df
commit
75bc7be622
3 changed files with 103 additions and 6 deletions
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue