mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Adding UV texture coordinates to Surface and ImageShader.
This commit is contained in:
@@ -27,6 +27,9 @@ public:
|
||||
void draw (glm::mat4 modelview, glm::mat4 projection) override;
|
||||
void accept (Visitor& v) override;
|
||||
|
||||
void setTextureUV(glm::vec4 uv);
|
||||
glm::vec4 textureUV() const;
|
||||
|
||||
inline void setTextureIndex(uint t) { textureindex_ = t; }
|
||||
inline uint textureIndex() const { return textureindex_; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user