57UORRDBBVFV6J2AVUM4DJB23BQVR37SRH3XVBGMP5CT5EJQKIFQC
props.allocatedPointNodeSubset.values()
.filter((pointNodeRef) => {
return pointNodeRef.chunkCoord.x === chunkRef.chunkCoord.x &&
pointNodeRef.chunkCoord.y === chunkRef.chunkCoord.y;
})
props.allocatedPointNodeSubset.values().filter((pointNodeRef) => pointNodeRef.chunkCoord.equals(chunkRef.chunkCoord))
selectedPointNode: props.selectedPointNode,
// NOTE(bowei): for optimization, we dont tell other chunks about selected nodes in other chunks
selectedPointNode: (props.selectedPointNode?.chunkCoord.equals(chunkRef.chunkCoord) ? props.selectedPointNode : undefined),