remove pow for now
This commit is contained in:
@@ -197,7 +197,7 @@ public class HierarchicalOcclusionTraverser {
|
||||
{
|
||||
final double TARGET_COUNT = 4000;//TODO: make this configurable, or at least dynamically computed based on throughput rate of mesh gen
|
||||
double iFillness = Math.max(0, (TARGET_COUNT - this.meshGen.getTaskCount()) / TARGET_COUNT);
|
||||
iFillness = Math.pow(iFillness, 2);
|
||||
//iFillness = Math.pow(iFillness, 2);
|
||||
final int requestSize = (int) Math.ceil(iFillness * MAX_REQUEST_QUEUE_SIZE);
|
||||
MemoryUtil.memPutInt(ptr, Math.max(0, Math.min(MAX_REQUEST_QUEUE_SIZE, requestSize)));ptr += 4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user