mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
content_cao: Support texture animation for upright_sprite (#10020)
This commit is contained in:
parent
e5725dfb8e
commit
9bba52c400
5 changed files with 64 additions and 14 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue