mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-22 17:12:25 -05:00
Make DrawSprite virtual void
So both Adv and normal MeshBuilders can override it.
This commit is contained in:
parent
e18da6a308
commit
1594008dab
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue