Exemple #1
0
        /// <summary> Pan to and zoom to target, time = 0 immediate, else time to slew in seconds</summary>
        public void PanZoomTo(Vector3d target, double zoom, double timeslewsec = 0)
        {
            Vector2d camera = EyePosition.AzEl(target, true);

            Pan(camera, timeslewsec);
            GoToZoom(zoom, timeslewsec);
        }
Exemple #2
0
        /// <summary> Pan to and zoom to target, time = 0 immediate, else time to slew in seconds</summary>
        public void PanZoomTo(Vector3 target, float zoom, float timeslewsec = 0)
        {
            Vector2 camera = EyePosition.AzEl(target, true);

            Pan(camera, timeslewsec);
            GoToZoom(zoom, timeslewsec);
        }