Changeset 5879 in ntrip for trunk/BNC/src/map


Ignore:
Timestamp:
Aug 8, 2014, 12:58:03 PM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/map
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/map/bncmapwin.cpp

    r5323 r5879  
    164164//
    165165////////////////////////////////////////////////////////////////////////////
    166 void bncMapWin::slotNewPosition(bncTime /* time */, double xx, double yy, double zz) {
    167   double xyz[3];
    168   xyz[0] = xx;
    169   xyz[1] = yy;
    170   xyz[2] = zz;
     166void bncMapWin::slotNewPosition(bncTime /* time */, QVector<double> xx) {
    171167  double ell[3];
    172   xyz2ell(xyz, ell);
     168  xyz2ell(xx.data(), ell);
    173169  gotoLocation(ell[0]*180.0/M_PI, ell[1]*180.0/M_PI);
    174170}
  • trunk/BNC/src/map/bncmapwin.h

    r5323 r5879  
    4141
    4242 public slots:
    43   void slotNewPosition(bncTime time, double xx, double yy, double zz);
     43  void slotNewPosition(bncTime time, QVector<double> xx);
    4444
    4545 private slots:
Note: See TracChangeset for help on using the changeset viewer.