Skip to content

Commit

Permalink
Removed unnecessary temporary variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jflalonde committed Nov 1, 2013
1 parent fe39593 commit c2469fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions exactGradientModel.m
Expand Up @@ -22,8 +22,7 @@

% convert to camera parameters
thetac = pi/2+atan2(vh, f);
fc = f;
thetap = pixelZenithAngle(thetac, fc, up, vp);
thetap = pixelZenithAngle(thetac, f, up, vp);

% plug in Perez sky model
lum = perezGradientModel(a, b, thetap);
Expand Down

0 comments on commit c2469fd

Please sign in to comment.