more draft on Actor inventory (save <RefID/ItemID, amount>), successfully implemented 9-set hangul johab font, Hashtable -> HashMap

Former-commit-id: 4f51d33a166ca10ee49c471104ebe97aeee33fe7
Former-commit-id: 0066f44d522f3c9d96ad57b92d17a05dc920bffb
This commit is contained in:
Song Minjae
2016-03-11 13:26:42 +09:00
parent d76fd97e5a
commit 95092ea56c
46 changed files with 223 additions and 149 deletions

View File

@@ -61,9 +61,9 @@ public class HSVUtil {
}
return new Color(
(int) ((R_prime + m) * 255)
, (int) ((G_prime + m) * 255)
, (int) ((B_prime + m) * 255)
(R_prime + m)
, (G_prime + m)
, (B_prime + m)
);
}
@@ -72,9 +72,9 @@ public class HSVUtil {
}
public static HSV fromRGB(Color color) {
float r = color.getRed() / 255f;
float g = color.getGreen() / 255f;
float b = color.getBlue() / 255f;
float r = color.r;
float g = color.g;
float b = color.b;
float rgbMin = FastMath.min(r, g, b);
float rgbMax = FastMath.max(r, g, b);