in the unlikely case that fLength was 0f, then while we might (float) divide by it and get some junk value, we multiply that by fLength of 0f anyway so it would be a no-op cid#1664878 Division or modulo by float zero cid#1664879 Division or modulo by float zero cid#1659880 Division or modulo by float zero Change-Id: I8a0bf9f04975af252e59f9e15247871f915c8037 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194829 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Algorithms and Data Types for Graphics
Algorithms and data types for graphics (e.g. polygons, vectors, matrices and the like - see that used in canvas).