diff --git a/Graphics/Post.cpp b/Graphics/Post.cpp index 2fbe8aa3a1da8d9324f7ed935825d0cb1c7b5863..1060efe8d982da12939d9e0b0faf6275a15c9d47 100644 --- a/Graphics/Post.cpp +++ b/Graphics/Post.cpp @@ -1,4 +1,4 @@ -// $Id: Post.cpp,v 1.166 2008-05-20 19:03:27 geuzaine Exp $ +// $Id: Post.cpp,v 1.167 2008-05-21 10:59:04 geuzaine Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -1023,7 +1023,7 @@ void drawVectorArray(PView *p, VertexArray *va) opt->ArrowSizeProportional && opt->TmpMin > 0 && opt->TmpMax > opt->TmpMin && l != opt->TmpMin){ scale = opt->ArrowSize / l * - log10(l / opt->TmpMin) / log10(opt->TmpMin / opt->TmpMax); + log10(l / opt->TmpMin) / log10(opt->TmpMax / opt->TmpMin); } double px = v[0] * scale, py = v[1] * scale, pz = v[2] * scale; // only draw vectors larger than 1 pixel on screen