aboutsummaryrefslogtreecommitdiff
path: root/src/client/mesh.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2020-07-30 17:39:57 +0200
committerGitHub <noreply@github.com>2020-07-30 17:39:57 +0200
commit9bba52c4000a06043f5100dbb0ef66d869707ffc (patch)
tree36d5ac4a64a03a72f17192821611d3045fa50d33 /src/client/mesh.h
parente5725dfb8e476a5a6f63f020a23a53ca3ef610e9 (diff)
downloadminetest-9bba52c4000a06043f5100dbb0ef66d869707ffc.tar.gz
minetest-9bba52c4000a06043f5100dbb0ef66d869707ffc.tar.bz2
minetest-9bba52c4000a06043f5100dbb0ef66d869707ffc.zip
content_cao: Support texture animation for upright_sprite (#10020)
Diffstat (limited to 'src/client/mesh.h')
-rw-r--r--src/client/mesh.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client/mesh.h b/src/client/mesh.h
index 103c61e45..dbc091a06 100644
--- a/src/client/mesh.h
+++ b/src/client/mesh.h
@@ -58,6 +58,13 @@ void setMeshBufferColor(scene::IMeshBuffer *buf, const video::SColor &color);
*/
void setMeshColor(scene::IMesh *mesh, const video::SColor &color);
+
+/*
+ Sets texture coords for vertices in the mesh buffer.
+ `uv[]` must have `count` elements
+*/
+void setMeshBufferTextureCoords(scene::IMeshBuffer *buf, const v2f *uv, u32 count);
+
/*
Set a constant color for an animated mesh
*/