ImGui API
This commit is contained in:
1 parent
b59aea96d9
commit
fcecffa5fa
45 files changed
+6025
-3583
No files matched your search
@@ -0,0 +1,27 @@
|
||||
package imgui;
|
||||
|
||||
public final class ImFloat {
|
||||
public static ImFloat TMP = new ImFloat();
|
||||
|
||||
float[] data = new float[]{0.0f};
|
||||
|
||||
public ImFloat() {
|
||||
}
|
||||
|
||||
public ImFloat(float value) {
|
||||
setValue(value);
|
||||
}
|
||||
|
||||
public float getValue() {
|
||||
return this.data[0];
|
||||
}
|
||||
|
||||
public void setValue(float value) {
|
||||
this.data[0] = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.valueOf(getValue());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user