public static BaseDanmaku createDanmaku(int type, IDisplayer disp, float viewportScale) { if (disp == null) return null; sLastDisp = disp; return createDanmaku(type, disp.getWidth(), disp.getHeight(), viewportScale); }
public static BaseDanmaku createDanmaku(int type, IDisplayer disp) { if (disp == null) return null; sLastDisp = disp; return createDanmaku(type, disp.getWidth(), disp.getHeight(), 1 / (disp.getDensity() - 0.6f)); }