Skip to content

Commit

Permalink
Fix change request - curly brackets in then clauses
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregoire Ville committed May 2, 2024
1 parent 7023720 commit 9b5f3b4
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,17 @@ namespace anima
{
DirType dir = GetFiberDirection(i, fiber);
if(output->GetDirection()[0][0] > 0)
{
dir[0] *= -1;
}
if(output->GetDirection()[1][1] < 0)
{
dir[1] *= -1;
}
if(output->GetDirection()[2][2] < 0)
{
dir[2] *= -1;
}


PointType point = GetCenterVoxel(i, fiber);
Expand Down

0 comments on commit 9b5f3b4

Please sign in to comment.