use of com.badlogic.gdx.utils.IntArray in project libgdx by libgdx.
the class TextArea method initialize.
@Override
protected void initialize() {
super.initialize();
writeEnters = true;
linesBreak = new IntArray();
cursorLine = 0;
firstLineShowing = 0;
moveOffset = -1;
linesShowing = 0;
}
use of com.badlogic.gdx.utils.IntArray in project nhglib by VoidZombie.
the class TiledForwardShader method init.
@Override
public void init() {
super.init(shaderProgram, renderable);
idtMatrix = new Matrix4();
bones = new float[0];
lightsFrustum = new Array<>();
lightsToRender = new Array<>();
for (int i = 0; i < 100; i++) {
lightsFrustum.add(new IntArray());
}
color = new Color();
lightTexture = new Texture(64, 128, Pixmap.Format.RGBA8888);
lightTexture.setFilter(Texture.TextureFilter.Nearest, Texture.TextureFilter.Nearest);
lightInfoTexture = new Texture(1, 128, Pixmap.Format.RGBA8888);
lightInfoTexture.setFilter(Texture.TextureFilter.Nearest, Texture.TextureFilter.Nearest);
lightPixmap = new Pixmap(64, 128, Pixmap.Format.RGBA8888);
lightPixmap.setBlending(Pixmap.Blending.None);
lightInfoPixmap = new Pixmap(1, 128, Pixmap.Format.RGBA8888);
lightInfoPixmap.setBlending(Pixmap.Blending.None);
frustums = new SmallFrustums(10, 10);
}
Aggregations