Variable objectPlacementConst

objectPlacement: inspect.sceneModel.Inspection = ...

Opt-in (InspectSceneModelParams.checkObjectStructure). Two object-level checks driven by a single per-object world-AABB walk:

  • OBJECT_FAR_FROM_ORIGIN — the AABB centroid magnitude exceeds InspectSceneModelParams.maxOriginDistance (default 1e6). Float-precision risk; usually a coordinate-system mismatch (model authored in georeferenced coordinates and not re-centred for viewing).
  • OBJECT_DUPLICATE_AABB — two or more SceneObjects share byte-identical world-space AABB and the same mesh count. Often a loader emitting the same element twice; matching on mesh count suppresses the rare coincidence of two genuinely different objects with identical AABBs. Each cluster emits one warning, with context.duplicates listing the redundant ids.

Per-object world AABB is computed from the eight corners of each mesh's geometry-AABB transformed through mesh.worldMatrix (so any parent SceneTransform chain is honoured).