Added full block model and planar light matrix

Added set function to Rectangle4i
This commit is contained in:
Chicken-Bomes committed 2014-05-09 09:23:58 +10:00
1 parent 408e45ef25
commit 215715f7c5
5 files changed
+102

No files matched your search

@@ -3,6 +3,7 @@ package codechicken.lib.render;
import codechicken.lib.colour.ColourRGBA;
import codechicken.lib.lighting.LC;
import codechicken.lib.lighting.LightMatrix;
import codechicken.lib.lighting.PlanarLightMatrix;
import codechicken.lib.util.Copyable;
import codechicken.lib.vec.Rotation;
import codechicken.lib.vec.Transformation;
@@ -296,6 +297,10 @@ public class CCRenderState
public static void setModel(IVertexSource source, int start, int end) {
bindModel(source);
setVertexRange(start, end);
}
public static void setVertexRange(int start, int end) {
firstVertexIndex = start;
lastVertexIndex = end;
}