mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-23 03:17:53 +01:00
fix instance textures
This commit is contained in:
parent
045771dce5
commit
a9127bee1c
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ public final class ModelPartConverter {
|
|||
void map(Vector2f uv);
|
||||
|
||||
static TextureMapper toSprite(TextureAtlasSprite sprite) {
|
||||
return uv -> uv.set(sprite.getU(uv.x * 16), sprite.getV(uv.y * 16));
|
||||
return uv -> uv.set(sprite.getU(uv.x), sprite.getV(uv.y));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue