mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-11 15:57:42 +00:00
Remove broken render() function in CCModel, made CCRenderState.startDrawing(int) public again
This commit is contained in:
1 parent
5c54b184ea
commit
3bde4ab9ee
2 files changed
+1
-6
No files matched your search
@@ -398,11 +398,6 @@ public class CCModel implements CCRenderState.IVertexSource, Copyable<CCModel>
|
||||
return this;
|
||||
}
|
||||
|
||||
public void render()
|
||||
{
|
||||
render(0, verts.length, null, null, null);
|
||||
}
|
||||
|
||||
public void render(double x, double y, double z, double u, double v)
|
||||
{
|
||||
render(new Vector3(x, y, z).translation(), new UVTranslation(u, v));
|
||||
|
||||
@@ -373,7 +373,7 @@ public class CCRenderState
|
||||
startDrawing(7);
|
||||
}
|
||||
|
||||
private static void startDrawing(int mode) {
|
||||
public static void startDrawing(int mode) {
|
||||
Tessellator.instance.startDrawing(mode);
|
||||
if(hasColour)
|
||||
Tessellator.instance.setColorRGBA(colour>>>24, colour>>16 & 0xFF, colour>>8 & 0xFF, alphaOverride >= 0 ? alphaOverride : colour & 0xFF);
|
||||
|
||||
Reference in new issue
Block a user