loryhndol / LowpolyBuildings

Implementation of Low-poly mesh generation for building models
24 stars 4 forks source link

WeightedVector operator function mistake #5

Closed klxqlehua closed 1 year ago

klxqlehua commented 1 year ago

When I run it, I find that "_topKDirections = pickTopViewDirections(_conf.k, Mi);" returns the smallest topk weight, not the largest topK weight value. So I modify the operator as follows, which is '>' before. And then it solved. My platform is Mac.

image

Please check it, thanks.