diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2017-08-17 01:27:30 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2017-08-17 01:27:30 +0200 |
commit | ef6e1252aeb7e15a72d4df1e3a2335b539d57b95 (patch) | |
tree | 8fdbf753e929dbe8aa03195ea155c3b167350c22 /modules/nativescript | |
parent | 19aff15a1af27a428c82f4a30dea498be9319de1 (diff) |
Guarantee start & end points are returned by Navigation2D
So start and end points are unconditionally added to the returned point list, but first and last middle points are checked against them to avoid duplicates.
`CMP_EPSILON` was already providing a guarantee, but knowing you will get exactly the endpoints you provided is even better.
Diffstat (limited to 'modules/nativescript')
0 files changed, 0 insertions, 0 deletions