public void SetOriginPoint(LatLongAltitude lla) { if (m_coordinateSystem == CoordinateSystem.ECEF) { m_cameraController.MoveTo(lla.GetLatLong()); } else { m_frame.SetCentralPoint(lla); } }
public void SetOriginPoint(LatLongAltitude lla) { m_originECEF = lla.ToECEF(); if (m_coordinateSystem == CoordinateSystem.ECEF) { if (m_cameraController.HasControlledCamera) { m_cameraController.MoveTo(lla.GetLatLong()); } else { UpdateTransforms(); } } else { m_frame.SetCentralPoint(lla); UpdateTransforms(); } }