mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 04:50:06 +00:00 
			
		
		
		
	Start angle should properly reflect the edge of the bin instead of the middle
This commit is contained in:
		
							parent
							
								
									fe76cd67d0
								
							
						
					
					
						commit
						bb0419aa3e
					
				
					 3 changed files with 31 additions and 61 deletions
				
			
		|  | @ -440,7 +440,7 @@ void RadarProductManager::Initialize() | |||
|          const uint16_t radial = | ||||
|             static_cast<uint16_t>(radialGate / common::MAX_DATA_MOMENT_GATES); | ||||
| 
 | ||||
|          const float  angle  = radial * 0.5f - 0.25f; // 0.5 degree radial
 | ||||
|          const float  angle  = radial * 0.5f; // 0.5 degree radial
 | ||||
|          const float  range  = (gate + 1) * gateSize; | ||||
|          const size_t offset = radialGate * 2; | ||||
| 
 | ||||
|  | @ -477,7 +477,7 @@ void RadarProductManager::Initialize() | |||
|          const uint16_t radial = | ||||
|             static_cast<uint16_t>(radialGate / common::MAX_DATA_MOMENT_GATES); | ||||
| 
 | ||||
|          const float  angle  = radial * 1.0f - 0.5f; // 1 degree radial
 | ||||
|          const float  angle  = radial * 1.0f; // 1 degree radial
 | ||||
|          const float  range  = (gate + 1) * gateSize; | ||||
|          const size_t offset = radialGate * 2; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat