mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-24 22:14:32 +00:00
1 parent
dff52ecd71
commit
7cd88944d4
2 files changed
+4
-4
No files matched your search
@@ -424,8 +424,8 @@ public class ObjModel extends SimpleUnbakedGeometry<ObjModel>
|
||||
quadBaker.vertex(position.x(), position.y(), position.z());
|
||||
quadBaker.color(tintedColor.x(), tintedColor.y(), tintedColor.z(), tintedColor.w());
|
||||
quadBaker.uv(
|
||||
texture.getU(texCoord.x * 16),
|
||||
texture.getV((flipV ? 1 - texCoord.y : texCoord.y) * 16)
|
||||
texture.getU(texCoord.x),
|
||||
texture.getV((flipV ? 1 - texCoord.y : texCoord.y))
|
||||
);
|
||||
quadBaker.uv2(uv2);
|
||||
quadBaker.normal(normal.x(), normal.y(), normal.z());
|
||||
|
||||
Reference in new issue
Block a user