public DottedLine3DBatch(float dashFraction, float unitSize, boolean smoothed, int batchSize) { super(1, smoothed, batchSize); if (dashFraction >= 1.0f) dashFraction = 1.0f; else if (dashFraction <= 0.0f) dashFraction = 0.0f; generateBitmap(dashFraction); mUnitSize = unitSize; }