Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patches bug #293 #294

Conversation

S010MON
Copy link
Owner

@S010MON S010MON commented Apr 28, 2022

Closes #293: bug was caused by the sound engine trying to stochastically bounce sound rays from just short of the line that represents the boundary/agent (this is required to stop sound rays becoming trapped within the interior of walls accidentally). The minuscule distance between the agent and the sound ray caused issues as the vector created held NaN values that then spawned their own NaN children in a markov chain.

Patched with a distance check that should have minimal impact on performance and is unlikely to be actioned in all but the rarest cases.

@S010MON S010MON added the bug Something isn't working label Apr 28, 2022
@S010MON S010MON self-assigned this Apr 28, 2022
@S010MON S010MON requested a review from MatthewFoster02 April 28, 2022 19:23
@S010MON S010MON merged commit ac1ab92 into master Apr 28, 2022
@S010MON S010MON deleted the 293-cannot-invoke-appcontrollerlinalgvectorgetx-because-b-is-null-bug branch April 28, 2022 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Cannot invoke "app.controller.linAlg.Vector.getX()" because "B" is null" bug
2 participants