Expand node radios in 3D view

This commit is contained in:
Jack Kingsman
2026-02-16 16:17:39 -08:00
parent e157826364
commit 241f94ceaf

View File

@@ -1177,7 +1177,7 @@ export function PacketVisualizer3D({
let nd = nodeMeshesRef.current.get(node.id);
if (!nd) {
const isSelf = node.type === 'self';
const radius = isSelf ? 8 : 4;
const radius = isSelf ? 12 : 6;
const geometry = new THREE.SphereGeometry(radius, 16, 12);
const material = new THREE.MeshBasicMaterial({ color: getBaseNodeColor(node) });
const mesh = new THREE.Mesh(geometry, material);