From b4d417e1da2b76e1d40432e31b53b1d7e06d3a7e Mon Sep 17 00:00:00 2001 From: Jared Sinclair Date: Thu, 18 Aug 2016 13:35:23 -0500 Subject: [PATCH 1/2] Fix error with renamed ivar. --- Sources/NYT360CameraController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/NYT360CameraController.m b/Sources/NYT360CameraController.m index 0ddd39c..62c6adc 100644 --- a/Sources/NYT360CameraController.m +++ b/Sources/NYT360CameraController.m @@ -73,7 +73,7 @@ - (void)stopMotionUpdates { - (double)cameraAngleDirection { float x = 0, y = 0, z = -1; - SCNMatrix4 worldMatrix = _camera.worldTransform; + SCNMatrix4 worldMatrix = self.pointOfView.worldTransform; float qx = worldMatrix.m11 * x + worldMatrix.m12 * y + worldMatrix.m13 * z + worldMatrix.m14; float qz = worldMatrix.m31 * x + worldMatrix.m32 * y + worldMatrix.m33 * z + worldMatrix.m34; From 829d0693a605707c3f04c1f1e7d46290e97fa16b Mon Sep 17 00:00:00 2001 From: Jared Sinclair Date: Thu, 18 Aug 2016 14:10:44 -0500 Subject: [PATCH 2/2] Update to 0.5.2. --- NYT360Video.podspec | 2 +- NYT360VideoExample/Info.plist | 2 +- NYT360VideoTests/Info.plist | 2 +- Sources/Info.plist | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/NYT360Video.podspec b/NYT360Video.podspec index 803e007..36e40df 100644 --- a/NYT360Video.podspec +++ b/NYT360Video.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'NYT360Video' - s.version = '0.5.1' + s.version = '0.5.2' s.summary = 'NYT360Video plays 360ยบ video streamed from an AVPlayer.' s.description = <<-DESC diff --git a/NYT360VideoExample/Info.plist b/NYT360VideoExample/Info.plist index 2c01394..61c08dd 100644 --- a/NYT360VideoExample/Info.plist +++ b/NYT360VideoExample/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.5.1 + 0.5.2 CFBundleSignature ???? CFBundleVersion diff --git a/NYT360VideoTests/Info.plist b/NYT360VideoTests/Info.plist index 4e4720d..c66dccc 100644 --- a/NYT360VideoTests/Info.plist +++ b/NYT360VideoTests/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 0.5.1 + 0.5.2 CFBundleSignature ???? CFBundleVersion diff --git a/Sources/Info.plist b/Sources/Info.plist index 504fc36..0d4fc0a 100644 --- a/Sources/Info.plist +++ b/Sources/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.5.1 + 0.5.2 CFBundleSignature ???? CFBundleVersion