Gelatine, jelly, recipes

This commit is contained in:
paulevsGitch 2020-12-07 12:42:32 +03:00
parent 02e99b8cc4
commit eca14bce9b
14 changed files with 58 additions and 7 deletions

View file

@ -6,6 +6,7 @@ public class MHelper {
public static final float PI2 = (float) (Math.PI * 2);
private static final int ALPHA = 255 << 24;
public static final Random RANDOM = new Random();
private static final float RAD_TO_DEG = 57.295779513082320876798154814105F;
public static int color(int r, int g, int b) {
return ALPHA | (r << 16) | (g << 8) | b;
@ -242,4 +243,8 @@ public class MHelper {
return values;
}
public static final float radiandToDegrees(float value) {
return value * RAD_TO_DEG;
}
}