public void Draw(Block block, Material cubeMaterial) { DrawQuads(block); QuadUtils.RenderQuads(gameObject, cubeMaterial); }
public void Draw(Chunk chunk, int chunkSize, GameObject gameObject, Material cubeMaterial) { DrawChunk(chunk, chunkSize, gameObject); QuadUtils.RenderQuads(gameObject, cubeMaterial); }