![JAR search and dependency download from the Maven repository](/logo.png)
com.jtransc.media.limelibgdx.soft.BitmapDataFloat Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gdx-backend-jtransc Show documentation
Show all versions of gdx-backend-jtransc Show documentation
JVM AOT compiler currently generating JavaScript, Haxe, with initial focus on Kotlin and games.
package com.jtransc.media.limelibgdx.soft;
public class BitmapDataFloat {
public float[] data;
public int width;
public int height;
public BitmapDataFloat(int width, int height) {
this.data = new float[width * height];
this.width = width;
this.height = height;
}
public void set(int x, int y, float value) {
this.data[y * width + x] = value;
}
public float get(int x, int y) {
return this.data[y * width + x];
}
public void fill(float value) {
for (int n = 0; n < data.length; n++) data[n] = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy