mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-24 22:04:49 +00:00
Fixed balloon colors, fixed transmitter block render, fixed visual disconnect of transmitters on world load
This commit is contained in:
1 parent
2c39f6a689
commit
30447e40e2
8 files changed
+28
-16
No files matched your search
@@ -320,10 +320,10 @@ public class MekanismRenderer
|
||||
for(int i = 0; i < 4; i++)
|
||||
{
|
||||
int nextIndex = (i+amount)%4;
|
||||
int j = quad.getFormat().getIntegerSize() * i;
|
||||
int quadSize = quad.getFormat().getIntegerSize();
|
||||
int uvIndex = quad.getFormat().getUvOffsetById(0) / 4;
|
||||
vertices[j + uvIndex] = quad.getVertexData()[7*nextIndex + uvIndex];
|
||||
vertices[j + uvIndex + 1] = quad.getVertexData()[7*nextIndex + uvIndex];
|
||||
vertices[quadSize*i + uvIndex] = quad.getVertexData()[quadSize*nextIndex + uvIndex];
|
||||
vertices[quadSize*i + uvIndex + 1] = quad.getVertexData()[quadSize*nextIndex + uvIndex + 1];
|
||||
}
|
||||
|
||||
return new BakedQuad(vertices, quad.getTintIndex(), quad.getFace(), quad.getSprite(), quad.shouldApplyDiffuseLighting(), quad.getFormat());
|
||||
|
||||
Reference in new issue
Block a user