Changeset 5879 in ntrip for trunk/BNC/src/map/bncmapwin.cpp


Ignore:
Timestamp:
Aug 8, 2014, 12:58:03 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 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}
Note: See TracChangeset for help on using the changeset viewer.