Fix rotated exports
commit76cf7f1f376d9235c072aef802bdc15faa1155ff
authorOlly Betts <olly@survex.com>
Wed, 4 Sep 2019 01:27:11 +0000 (4 13:27 +1200)
committerOlly Betts <olly@survex.com>
Wed, 4 Sep 2019 01:27:11 +0000 (4 13:27 +1200)
tree6bc187f80b80baaac09648513068d33ed75e0317
parent63636902d348a4bb56075b5bef2837d41a8d5237
Fix rotated exports

When exporting to a format where we support rotation in the horizontal
plane (such as SVG), the rotation was incorrectly applied to cross
section data (except for the default rotation of zero).

Fixes #108, reported by Richard Knapp.
src/export.cc
src/kml.cc
src/model.cc