jmhodges/kdtree2

Error in Vector3.LargestAxis() {

edgar005 opened this issue · 4 comments

Hi
for negative values of Vector3 coordinate values there is an error in Vector3.LargestAxis()
Instead of comparing the values of X,Y,Z, you should compare the absolute values.

I'm trying to find this in the C++ code so that I can determine whether the Fortran version has a similar issue. However, I can't seem to find the string 'Vector3.LargestAxis'. Can you please tell where the error occurs?

I don't think the Fortran implementation has the same problem.

Hi
please accept my appologies! I posted the error in the false project, which is also named kdtree2. the one where this error occurs is: https://github.com/Jerdak/KDTree2
sorry again!

Thank you for taking the time to respond!

H

On Mon, Oct 10, 2016 at 1:43 AM, edgar005 notifications@github.com wrote:

Hi
please accept my appologies! I posted the error in the false project,
which is also named kdtree2. the one where this error occurs is:
https://github.com/jmhodges/kdtree2
sorry again!


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#4 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AE7fzlkNvtAyEgydQe55vKf4PdVK4Csoks5qyd6XgaJpZM4KR893
.