-Upgraded: LWJGL3 to version 3.3.2 -Changed: Reworked to new formatting that i like. -Started: New Gui System
19 lines
396 B
Java
19 lines
396 B
Java
package speiger.src.coreengine.rendering.gui.helper.box;
|
|
|
|
public interface IScreenBox
|
|
{
|
|
public float getBaseScale();
|
|
public float getBaseWidth();
|
|
public float getBaseHeight();
|
|
|
|
public default float getSquaredBaseWidth() {
|
|
float value = getBaseWidth();
|
|
return value * value;
|
|
}
|
|
|
|
public default float getSquaredBaseHeight() {
|
|
float value = getBaseWidth();
|
|
return value * value;
|
|
}
|
|
}
|