scihant / CTPanoramaView

A library that displays spherical or cylindrical panoramas with touch or motion based controls.
MIT License
1.04k stars 88 forks source link

Allow the image to be rotated independent of the camera #53

Closed kingjd2 closed 4 years ago

kingjd2 commented 4 years ago

This would provide a method for rotating the image rather than the camera.

The benefit of doing this rather than the existing startAngle property is that it works the same regardless of camera control method or panorama type.

The main difference is that it doesn't change the orientation of the direction indicator. In my projects case, that's a benefit since we are applying a rotation correct for the fact that images start facing backwards using this library

scihant commented 4 years ago

Thanks for the PR