Skip to content

Commit

Permalink
Fixed compilation error in v3ctor class
Browse files Browse the repository at this point in the history
  • Loading branch information
Pseudomanifold committed Aug 1, 2011
1 parent d9acb6b commit f82f357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v3ctor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ std::ostream& operator<<(std::ostream& o, const v3ctor& v)
double distance_to_plane(const v3ctor& a, const v3ctor& b, const v3ctor& c, const v3ctor & x)
{
v3ctor normal = ((b-a)|(c-a)).normalize();
return(abs(normal*(x-a)));
return(fabs(normal*(x-a)));
}

/*!
Expand Down

0 comments on commit f82f357

Please sign in to comment.