[vtk-developers] Help with vtkFreeTypeTools::MapTextPropertyToId error...

David Lonie david.lonie at kitware.com
Wed Mar 25 15:46:06 EDT 2015


Ugh, why doesn't gmail have a compiler-precheck?

On Wed, Mar 25, 2015 at 3:44 PM, David Lonie <david.lonie at kitware.com>
wrote:

> int angle = vtkMath::Round(tprop->GetOrientation() * 10. % 3600;
>

Of course, that should be:

 int angle = vtkMath::Round(tprop->GetOrientation() * 10.) % 3600;

Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20150325/53de1a6b/attachment.html>


More information about the vtk-developers mailing list