public static float getGenerationProgress(Vox.Tree editor) { return(1 - (float)(editor.getJobCount() + Vox.VoxelThread.getJobCount()) / jobCount * 2); }