sprite

abstract QuadEmitter sprite(int vertexIndex, int spriteIndex, float u, float v)

Set sprite atlas coordinates. Behavior for {@code spriteIndex > 0} is currently undefined.

QuadEmitter sprite(int vertexIndex, int spriteIndex, Vec2f uv)

Set sprite atlas coordinates. Behavior for {@code spriteIndex > 0} is currently undefined.

Only use this function if you already have a Vec2f.Otherwise, see sprite.