public static int[] getShades(short colix) { int[] shades = ashades[colix]; if (shades == null) shades = ashades[colix] = Shade3D.getShades(argbs[colix]); return shades; }