Make DrawSprite virtual void

So both Adv and normal MeshBuilders can override it.
This commit is contained in:
Goodlyay 2017-07-21 23:07:57 -07:00
parent e18da6a308
commit 1594008dab

View file

@ -114,7 +114,7 @@ namespace ClassicalSharp {
part.vCount[face] += 6;
}
protected void DrawSprite(int count) {
protected virtual void DrawSprite(int count) {
int texId = info.textures[curBlock * Side.Sides + Side.Right];
int i = texId / elementsPerAtlas1D;
float vOrigin = (texId % elementsPerAtlas1D) * invVerElementSize;