Skip to content

Tank Demo Aiming #117

Answered by RossNordby
7Bpencil asked this question in Q&A
Dec 30, 2020 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

MathHelper.ApproximateAcos, the vectorized acos approximation used by the involved constraints, was a little too approximate. Try out 4b72cd6; it should help.

It's still using a very Ye Olde implementation and could be a wee bit better, but the maximum error is about 1000x lower now. I might revamp it again once I can use intrinsics.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by 7Bpencil
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@7Bpencil
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants