Fix crash due to floating point precision.
86549ae5135f2efa9ceb0689b88004ede5269668 imported the poly2tri library
with doubles changed to floats. The poly2tri has expectations on the
precision of floating point operations which are not met with single
precision floating point operations, leading to crashes. Revert back to
using double precision.
Change-Id: Ifd35287461a268fd89cdc6674aa31fef1dd55562
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Reviewed-by: Michal Klocek <michal.klocek@digia.com>
| commit | 1a1a6d0edf2d818f84606afbd6486ff0a4435b8b |
| parent | 804f60d1dbcbeff1741584629942a7f59175e7c5 |
| author | Aaron McCarthy <aaron.mccarthy@jollamobile.com> |
| committer | Aaron McCarthy <mccarthy.aaron@gmail.com> |
| commit time | Wed, 7 Jan 2015 02:37:29 +0100 |
- M src/3rdparty/poly2tri/common/shapes.h
- M src/3rdparty/poly2tri/common/utils.h
- M src/3rdparty/poly2tri/sweep/advancing_front.cpp
- M src/3rdparty/poly2tri/sweep/advancing_front.h
- M src/3rdparty/poly2tri/sweep/sweep.cpp
- M src/3rdparty/poly2tri/sweep/sweep.h
- M src/3rdparty/poly2tri/sweep/sweep_context.cpp
- M src/3rdparty/poly2tri/sweep/sweep_context.h