This commit is contained in:
mcrcortex
2025-04-18 08:24:28 +10:00
parent 8ef53b3c4f
commit 1ffcaea80f
2 changed files with 4 additions and 4 deletions

View File

@@ -282,7 +282,7 @@ public final class NodeStore {
isEligibleForCleaning |= this.getAllChildrenAreLeaf(nodeId);
//isEligibleForCleaning |= this.getNodeType()
flags |= (short) (isEligibleForCleaning?1<<4:0);//1 bit
flags |= (short) (isEligibleForCleaning?1<<5:0);//1 bit
{
int geometry = this.getNodeGeometry(nodeId);

View File

@@ -66,9 +66,9 @@ bool childListIsEmpty(in UnpackedNode node) {
return node.childPtr == EMPTY_QUEUE_ID;
}
bool isEmpty(in UnpackedNode node) {
return (node.flags&2u) != 0;
}
//bool isEmpty(in UnpackedNode node) {
// return (node.flags&2u) != 0;
//}
bool hasRequested(in UnpackedNode node) {
return (node.flags&1u) != 0u;