Skip to content
Snippets Groups Projects
Commit b6846adf authored by Mathieu Deltorre's avatar Mathieu Deltorre
Browse files

*corrections vcl_cos vcl_sin

parent 51edc7cb
Branches
Tags
No related merge requests found
......@@ -692,8 +692,8 @@ namespace otb
!lIterMagnitude.IsAtEnd();
++lIterMagnitude, ++lIterOrientation)
{
unsigned int dx = vcl_abs(lIterMagnitude.GetIndex()[0]-currentScale.GetIndex()[0]);
unsigned int dy = vcl_abs(lIterMagnitude.GetIndex()[1]-currentScale.GetIndex()[1]);
float dx = vcl_abs(lIterMagnitude.GetIndex()[0]-currentScale.GetIndex()[0]);
float dy = vcl_abs(lIterMagnitude.GetIndex()[1]-currentScale.GetIndex()[1]);
float dist2 = dx*dx+dy*dy;
if (dist2 <= 8*8)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment