[Gcblue-commits] gcb_wx/src/sim tcMapData.cpp,1.8,1.9
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2004-06-20 15:00:03
|
Update of /cvsroot/gcblue/gcb_wx/src/sim In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20467/src/sim Modified Files: tcMapData.cpp Log Message: Index: tcMapData.cpp =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/src/sim/tcMapData.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** tcMapData.cpp 19 Jun 2004 22:00:28 -0000 1.8 --- tcMapData.cpp 20 Jun 2004 14:59:53 -0000 1.9 *************** *** 799,802 **** --- 799,817 ---- } + /** + * Loads high res data (theater area) specified by northwest corner + * point (startLon_deg, startLat_deg) + * Uses newer 10 x 10 deg DEM tile system + * Forces the corner to a tile boundary + */ + void tcMapData::LoadHighResB(float startLon_deg, float startLat_deg) + { + ConformLonLatDeg(startLon_deg, startLat_deg); + + // force corner point to a tile boundary + startLon_deg = 0.5f * floorf(startLon_deg / 0.5f); + startLat_deg = 0.5f * floorf(startLat_deg / 0.5f); + } + /********************************************************************/ /** |