Skip to content

Conversation

@hearga
Copy link
Contributor

@hearga hearga commented Jun 4, 2024

If from and to vectors are close to being opposite, it is not handled properly. For example, if from is (0,0,1) and to is (0,0,-1) the dot product is -1 this will imply that the axis will be (0,0,0), the length = 0 and the inversenorm will be infinite.

For the proposed solution, note that div is always greater or equal than dot_pd

If from and to vectors are close to being opposite, it is not handled properly.  For example, if from is (0,0,1) and to is (0,0,-1) the dot product is -1 this will imply that the axis will be (0,0,0), the length = 0 and the inversenorm will be infinite.
For the solution, note that div is always greater than dot_pd
@robertosfield robertosfield merged commit 9521dce into vsg-dev:master Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants