Taos API Reference
    Preparing search index...

    Function reanchorCamera

    • Reanchors the floating origin under the camera when it roams past reanchorDist meters from the origin, shifting the camera GameObject to compensate so nothing moves on screen. World coordinates stay small (f32-safe) at planetary distances.

      Call this from the app's beforeFrame, right after the camera controller updates — it MUST run before the engine caches the camera matrices (camera.updateRender), which is why it lives here and not inside GeoFeature.update.

      Parameters

      Returns void