Mercurial > gemma
changeset 757:ef3dfe7037b3
Fixed typo in node selection of vertical octree traversal.
There are remaining bugs.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 25 Sep 2018 03:59:39 +0200 |
parents | 5e14000829d1 |
children | 0f3ba8bfa641 |
files | pkg/octree/tree.go |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/octree/tree.go Tue Sep 25 03:55:45 2018 +0200 +++ b/pkg/octree/tree.go Tue Sep 25 03:59:39 2018 +0200 @@ -132,7 +132,7 @@ if all&1 == 1 { a := ot.index[top.pos+i] b := ot.index[top.pos+i+4] - if b != 0 || b != 0 { + if a != 0 || b != 0 { nbox := box2d{ dx*scale[i][0] + top.x1, dy*scale[i][1] + top.y1,