Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Returning logical output for world2skyangular conversion.

  • Loading branch information...
commit a2fbd520d923cc34c65ed08d262eedb28228656a 1 parent de01a50
Jean-Francois Lalonde authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  envmapWorld2SkyAngular.m
  2. +1 −1  envmapWorld2SkyAngularAngles.m
2  envmapWorld2SkyAngular.m
View
@@ -17,7 +17,7 @@
% Jean-Francois Lalonde
% Get the angles
-[uAngular, vAngular] = envmapWorld2SkyAngularAngles(dx, dy, dz);
+[uAngular, vAngular, indPos] = envmapWorld2SkyAngularAngles(dx, dy, dz);
% Interpolate to get the desired pixel values
envMap = zeros(size(dx,1), size(dx,2), size(inputEnvMap, 3));
2  envmapWorld2SkyAngularAngles.m
View
@@ -1,4 +1,4 @@
-function [uSkyAngular, vSkyAngular] = envmapWorld2SkyAngularAngles(dx, dy, dz)
+function [uSkyAngular, vSkyAngular, indPos] = envmapWorld2SkyAngularAngles(dx, dy, dz)
% Converts (x,y,z) coordinates to "sky angular" format
%
% [uSkyAngular, vSkyAngular] = envmapWorld2SkyAngularAngles(dx, dy, dz)
Please sign in to comment.
Something went wrong with that request. Please try again.