Skip to content

Commit

Permalink
Fix import and usage of attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
hohserg1 committed May 15, 2022
1 parent 57a3f56 commit dab2634
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package hohserg.endothermic.quad.immutable

import hohserg.endothermic.format.AttributeRepresentation._
import hohserg.endothermic.quad.BaseUnpackedQuad
import net.minecraft.client.renderer.block.model.BakedQuad
import net.minecraft.client.renderer.texture.TextureAtlasSprite
Expand Down Expand Up @@ -61,7 +60,9 @@ class LazyUnpackedQuad private[endothermic](
r._v2_v = transposeUVToNewAtlas(r.v2_v, _atlas.getMinV, atlasWidthV, atlas.getMinV, newAtlasWidthV)
r._v3_v = transposeUVToNewAtlas(r.v3_v, _atlas.getMinV, atlasWidthV, atlas.getMinV, newAtlasWidthV)
r._v4_v = transposeUVToNewAtlas(r.v4_v, _atlas.getMinV, atlasWidthV, atlas.getMinV, newAtlasWidthV)


import hohserg.endothermic.format.AttributeRepresentation._
import BaseUnpackedQuad._
r.changeFlag1 |= (1 << u_1)
r.changeFlag1 |= (1 << u_2)
r.changeFlag1 |= (1 << u_3)
Expand Down

0 comments on commit dab2634

Please sign in to comment.