mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-16 10:44:51 +00:00
Added full block model and planar light matrix
Added set function to Rectangle4i
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user