mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 02:50:04 +00:00 
			
		
		
		
	comment out some unused variables/constants
This commit is contained in:
		
							parent
							
								
									a2efe1a928
								
							
						
					
					
						commit
						f5a5d3172f
					
				
					 8 changed files with 15 additions and 15 deletions
				
			
		|  | @ -24,7 +24,7 @@ static const auto        logger_    = scwx::util::Logger::Create(logPrefix_); | |||
| static constexpr std::size_t kNumRectangles        = 1; | ||||
| static constexpr std::size_t kNumTriangles         = kNumRectangles * 2; | ||||
| static constexpr std::size_t kVerticesPerTriangle  = 3; | ||||
| static constexpr std::size_t kVerticesPerRectangle = kVerticesPerTriangle * 2; | ||||
| //static constexpr std::size_t kVerticesPerRectangle = kVerticesPerTriangle * 2;
 | ||||
| static constexpr std::size_t kPointsPerVertex      = 10; | ||||
| static constexpr std::size_t kPointsPerTexCoord    = 3; | ||||
| static constexpr std::size_t kIconBufferLength = | ||||
|  |  | |||
|  | @ -18,13 +18,13 @@ namespace draw | |||
| static const std::string logPrefix_ = "scwx::qt::gl::draw::placefile_lines"; | ||||
| static const auto        logger_    = scwx::util::Logger::Create(logPrefix_); | ||||
| 
 | ||||
| static constexpr std::size_t kNumRectangles        = 1; | ||||
| static constexpr std::size_t kNumTriangles         = kNumRectangles * 2; | ||||
| //static constexpr std::size_t kNumRectangles        = 1;
 | ||||
| //static constexpr std::size_t kNumTriangles         = kNumRectangles * 2;
 | ||||
| static constexpr std::size_t kVerticesPerTriangle  = 3; | ||||
| static constexpr std::size_t kVerticesPerRectangle = kVerticesPerTriangle * 2; | ||||
| static constexpr std::size_t kPointsPerVertex      = 9; | ||||
| static constexpr std::size_t kBufferLength = | ||||
|    kNumTriangles * kVerticesPerTriangle * kPointsPerVertex; | ||||
| //static constexpr std::size_t kBufferLength =
 | ||||
| //   kNumTriangles * kVerticesPerTriangle * kPointsPerVertex;
 | ||||
| 
 | ||||
| // Threshold, start time, end time
 | ||||
| static constexpr std::size_t kIntegersPerVertex_ = 3; | ||||
|  |  | |||
|  | @ -31,7 +31,7 @@ static constexpr std::size_t kIntegersPerVertex_ = 3; | |||
| 
 | ||||
| static constexpr std::size_t kTessVertexScreenX_ = 0; | ||||
| static constexpr std::size_t kTessVertexScreenY_ = 1; | ||||
| static constexpr std::size_t kTessVertexScreenZ_ = 2; | ||||
| //static constexpr std::size_t kTessVertexScreenZ_ = 2;
 | ||||
| static constexpr std::size_t kTessVertexXOffset_ = 3; | ||||
| static constexpr std::size_t kTessVertexYOffset_ = 4; | ||||
| static constexpr std::size_t kTessVertexR_       = 5; | ||||
|  |  | |||
|  | @ -31,8 +31,8 @@ namespace qt | |||
| namespace map | ||||
| { | ||||
| 
 | ||||
| static constexpr uint32_t MAX_RADIALS           = 720; | ||||
| static constexpr uint32_t MAX_DATA_MOMENT_GATES = 1840; | ||||
| //static constexpr uint32_t MAX_RADIALS           = 720;
 | ||||
| //static constexpr uint32_t MAX_DATA_MOMENT_GATES = 1840;
 | ||||
| 
 | ||||
| static const std::string logPrefix_ = "scwx::qt::map::radar_product_layer"; | ||||
| static const auto        logger_    = scwx::util::Logger::Create(logPrefix_); | ||||
|  |  | |||
|  | @ -66,12 +66,12 @@ static const std::vector<types::LayerInfo> kImmovableLayers_ { | |||
|    {types::LayerType::Map, types::MapLayer::MapUnderlay, false}, | ||||
| }; | ||||
| 
 | ||||
| static const std::array<awips::Phenomenon, 5> kAlertPhenomena_ { | ||||
| /*static const std::array<awips::Phenomenon, 5> kAlertPhenomena_ {
 | ||||
|    awips::Phenomenon::Tornado, | ||||
|    awips::Phenomenon::SnowSquall, | ||||
|    awips::Phenomenon::SevereThunderstorm, | ||||
|    awips::Phenomenon::FlashFlood, | ||||
|    awips::Phenomenon::Marine}; | ||||
|    awips::Phenomenon::Marine};*/ | ||||
| 
 | ||||
| class LayerModel::Impl | ||||
| { | ||||
|  |  | |||
|  | @ -29,8 +29,8 @@ static const std::string kRadarProductGroupName_ {"radar_product_group"}; | |||
| static const std::string kRadarProductName_ {"radar_product"}; | ||||
| 
 | ||||
| static const std::string                   kDefaultMapStyle_ {"?"}; | ||||
| static constexpr common::RadarProductGroup kDefaultRadarProductGroup_ = | ||||
|    common::RadarProductGroup::Level3; | ||||
| //static constexpr common::RadarProductGroup kDefaultRadarProductGroup_ =
 | ||||
| //   common::RadarProductGroup::Level3;
 | ||||
| static const std::string kDefaultRadarProductGroupString_ = "L3"; | ||||
| static const std::array<std::string, kCount_> kDefaultRadarProduct_ { | ||||
|    "N0B", "N0G", "N0C", "N0X"}; | ||||
|  |  | |||
|  | @ -12,8 +12,8 @@ std::chrono::sys_days SysDays(const QDate& date) | |||
|    using namespace std::chrono; | ||||
|    using sys_days             = time_point<system_clock, days>; | ||||
|    constexpr auto julianEpoch = sys_days {-4713y / November / 24d}; | ||||
|    constexpr auto unixEpoch   = sys_days {1970y / January / 1d}; | ||||
|    constexpr auto offset      = std::chrono::days(julianEpoch - unixEpoch); | ||||
|    //constexpr auto unixEpoch   = sys_days {1970y / January / 1d};
 | ||||
|    //constexpr auto offset      = std::chrono::days(julianEpoch - unixEpoch);
 | ||||
| 
 | ||||
|    return std::chrono::sys_days(std::chrono::days(date.toJulianDay()) + | ||||
|                                 julianEpoch); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak