mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-15 06:54:21 +01:00
fix instance textures
This commit is contained in:
parent
045771dce5
commit
a9127bee1c
@ -53,7 +53,7 @@ public final class ModelPartConverter {
|
|||||||
void map(Vector2f uv);
|
void map(Vector2f uv);
|
||||||
|
|
||||||
static TextureMapper toSprite(TextureAtlasSprite sprite) {
|
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 New Issue
Block a user