WorldWindJava
WorldWindJava copied to clipboard
Fix PointPlacemark pitch issue
Description of the Change
This PR adds maximum diagonal size of placemark texture value into depth range of glOrtho, the similar way as CompassLayer do for Compass texture tilt. It also fix rotation and tilting of PointPlacemark around specified offset point instead of rotation around center.
Why Should This Be In Core?
Bug should be fixed to make correct PointPlacemark tilt and rotation functionality.
Benefits
Placemarks will be correctly tilted and rotated without graphical glitches.
Potential Drawbacks
None.
Applicable Issues
https://github.com/NASAWorldWind/WorldWindJava/issues/151