diff --git a/src/layers/rings.js b/src/layers/rings.js index 3ef035b..772a2a0 100644 --- a/src/layers/rings.js +++ b/src/layers/rings.js @@ -164,7 +164,7 @@ export default Kapsule({ const lngAccessor = accessorFn(state.ringLng); const altitudeAccessor = accessorFn(state.ringAltitude); - const globeCenter = new THREE.Vector3(0, 0, 0); + const globeCenter = state.scene.localToWorld(new THREE.Vector3(0, 0, 0)); // translate from local to world coords state.dataMapper .onUpdateObj((obj, d) => {