mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Fixed up some textures, start working on a CTM rewrite
This commit is contained in:
1 parent
c29e4ab9bc
commit
840af06f43
23 files changed
+1755
-28
No files matched your search
@@ -0,0 +1,24 @@
|
||||
package mekanism.client.render.ctm;
|
||||
|
||||
import net.minecraft.client.renderer.texture.TextureAtlasSprite;
|
||||
|
||||
public interface ISubmap {
|
||||
|
||||
float getYOffset();
|
||||
|
||||
float getXOffset();
|
||||
|
||||
float getWidth();
|
||||
|
||||
float getHeight();
|
||||
|
||||
float getInterpolatedU(TextureAtlasSprite sprite, float u);
|
||||
|
||||
float getInterpolatedV(TextureAtlasSprite sprite, float v);
|
||||
|
||||
float[] toArray();
|
||||
|
||||
ISubmap normalize();
|
||||
|
||||
ISubmap relativize();
|
||||
}
|
||||
Reference in new issue
Block a user