ejeinc / MetalScope

Metal-backed 360° panorama view for iOS
MIT License
324 stars 72 forks source link

Reset rotation at next rendering frame #13

Closed junpluse closed 7 years ago

junpluse commented 7 years ago

This change replace resetCenter() with setNeedsResetRotation() for PanoramaView and StereoView. For OrientationNode, it just renamed to resetRotation().

Unlike resetCenter(), setNeedsResetRotation() delays actual rotation changes until the next scene rendering frame.

This request also combines deprecated/removed APIs into the single Deprecations+Removals.swift file.