Conversation
|
@StrangeZak What should the trig functions like |
|
Actually, that gets thorny because of how the trig functions are used internally. Should we consider making trig functions "private" in the same way we were considering for HMM_LinearCombineSSE? (#109) I think they should basically be an implementation detail and not something provided by Handmade Math. |
|
For my use cases I would prefer all functions to use one or other between degrees and radians, with no macros to change behavior whatsoever. Macros that opaquely change behavior internally are too complicated compared to their utility value. And instead provide a degree to radians and a radians to degree macro pair, and let the user handle it however they like from there. |
|
The intent is for all functions to use radians, and I'm adding an HMM_ToDegrees function/macro to complete the pair. I would still like to provide a flag to use degrees, but I think to make that happen, we will need to hide our trig functions. It may be, though, that with the trig functions gone, there just aren't enough uses of angles to justify the existence of Degree Mode. |
|
@bvisness Is there anything i can do to work towards closing this PR |
|
Hmm, I really don't remember where I left this. Clearly I added a conversion macro and some tests. But coming at it again with fresh eyes, I really don't think it's worth the effort, and I think we should just stick with radians everywhere, the end. So I guess this branch should be updated to do that? |
|
Yep agreed. Everything should be radians.
…On Wed, Nov 13, 2019 at 1:43 PM Ben Visness ***@***.***> wrote:
Hmm, I really don't remember where I left this. Clearly I added a
conversion macro and some tests. But coming at it again with fresh eyes, I
really don't think it's worth the effort, and I think we should just stick
with radians everywhere, the end.
So I guess this branch should be updated to do that?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#107>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB7DZ5IYKY5VHLFLJUVWTO3QTRYILANCNFSM4IJCLELQ>
.
|
|
Id like to get this closed if you can allocate some time towards it :D |
|
I think this is good to go. |
|
Wooo. Ill give it a review now. This is awesome |
|
Travis isn't working, so I'm trying to sort that out. But the tests are ok locally; hopefully they are for you too. |
|
Travis had an outage, and they're slowly recovering, but it seems that everything is passing. |
|
happy to see this done feel free to merge it |
Resolves #31.
TODO: