mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 04:03:59 +02:00
adds hack to consider "forgotten" tiles.
a proper solution (that will also consider screen dimensions / roll) is still pending
This commit is contained in:
parent
5475c64ff3
commit
a8df635c09
1 changed files with 3 additions and 2 deletions
|
@ -506,8 +506,9 @@ namespace
|
|||
for (float alt = altitude - extent;
|
||||
alt <= altitude + extent + 0.1f; alt += slice)
|
||||
{
|
||||
for (float azi = azimuth - extent;
|
||||
azi <= azimuth + extent + 0.1f; azi += slice)
|
||||
float azi_extent = extent / cos(alt);
|
||||
for (float azi = azimuth - azi_extent;
|
||||
azi <= azimuth + azi_extent + 0.1f; azi += slice)
|
||||
{
|
||||
float az = azi, al = alt;
|
||||
angleHorizontalPolar<Radians>(az, al);
|
||||
|
|
Loading…
Reference in a new issue