Skip to content

Commit

Permalink
fix far clamp
Browse files Browse the repository at this point in the history
  • Loading branch information
micromundos committed Nov 11, 2015
1 parent 7e799c9 commit da09bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cml/DepthCamera.cpp
Expand Up @@ -77,7 +77,7 @@ namespace cml
for (int i = 0; i < len; i++)
{
uint16_t mm = depth_pix_mm[ i ];
fpix_mm[ i ] = (float)mm; //flut_mm[ mm ];
fpix_mm[ i ] = CLAMP( ( (float)mm < FLT_EPSILON ? far_clamp : (float)mm ), 0.0, far_clamp ); //(float)mm; //flut_mm[ mm ];
fpix_n[ i ] = flut_n[ mm ];
}

Expand Down

0 comments on commit da09bbc

Please sign in to comment.