1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-18 18:55:29 +02:00

content_cao: Support texture animation for upright_sprite (#10020)

This commit is contained in:
sfan5
2020-07-30 17:39:57 +02:00
committed by GitHub
parent e5725dfb8e
commit 9bba52c400
5 changed files with 64 additions and 14 deletions

View File

@@ -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
*/