A sphere in world space: everything a frustum test needs about an item.
A record with a caller-owned center rather than a class, because the only
producer is computeWorldBoundingSphere and the only consumer is
Frustum.intersectsSphere — a class would add a constructor, a barrel entry,
and a second name for Vector3 plus a number, and give nothing back. The
caller allocates one and reuses it, which is how the per-view cull allocates
nothing per item (§7b, plan D7).
A sphere in world space: everything a frustum test needs about an item.
A record with a caller-owned
centerrather than a class, because the only producer is computeWorldBoundingSphere and the only consumer isFrustum.intersectsSphere— a class would add a constructor, a barrel entry, and a second name forVector3plus a number, and give nothing back. The caller allocates one and reuses it, which is how the per-view cull allocates nothing per item (§7b, plan D7).