Skip to content

Commit

Permalink
Fix UVs, all hail lord of copy-pasta!
Browse files Browse the repository at this point in the history
  • Loading branch information
AlgorithmX2 committed Mar 15, 2017
1 parent 1c90f2f commit eff36b7
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -136,7 +136,7 @@ else if ( xf.getAxis() == Axis.X )

mp[0].tint = 0;

final int cacheV = stateID << 6 | layer.ordinal() << 4 | face.ordinal();
final int cacheV = stateID << 6 | layer.ordinal() << 4 | xf.ordinal();
cache.put( cacheV, mp );
}

Expand Down Expand Up @@ -164,7 +164,7 @@ else if ( xf.getAxis() == Axis.X )

for ( final EnumFacing f : EnumFacing.VALUES )
{
final int cacheV = stateID << 6 | layer.ordinal() << 4 | face.ordinal();
final int cacheV = stateID << 6 | layer.ordinal() << 4 | f.ordinal();
final ArrayList<ModelQuadLayerBuilder> x = tmp.get( f );
final ModelQuadLayer[] mp = new ModelQuadLayer[x.size()];

Expand Down

0 comments on commit eff36b7

Please sign in to comment.