Skip to content

Commit

Permalink
Added missing ‘self’ into the lazy property
Browse files Browse the repository at this point in the history
  • Loading branch information
scihant committed Oct 2, 2017
1 parent ca632e1 commit eb72aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/CTPanoramaView.swift
Expand Up @@ -78,7 +78,7 @@ import ImageIO
}()

private lazy var fovHeight: CGFloat = {
return tan(yFov/2 * .pi / 180.0) * 2 * self.radius
return tan(self.yFov/2 * .pi / 180.0) * 2 * self.radius
}()

private var xFov: CGFloat {
Expand Down

0 comments on commit eb72aec

Please sign in to comment.