Remove broken render() function in CCModel, made CCRenderState.startDrawing(int) public again

This commit is contained in:
Chicken-Bomes committed 2014-06-15 00:24:18 +10:00
1 parent 5c54b184ea
commit 3bde4ab9ee
2 files changed
+1 -6

No files matched your search

-5
View File
@@ -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);