3 ms·
Right - there's a negotiation in terms of complexity. The coefficient baggage has to go somewhere. For me I don't want to care which units I use (and I'm rarel
by jan_Inkepa 4y ago
Right - there's a negotiation in terms of complexity. The coefficient baggage has to go somewhere.
For me I don't want to care which units I use (and I'm rarely inspecting the exact angle as a number) - consistency is most important. I'm rarely interested in the precise numerical value of an angle - it's just a thing in the graphics/physics pipeline somewhere.
I don't know if that makes me agnostic about this proposal or conservative.
- ncmncm 4y agoWhen you store a value that will be reused, like in an array of points, if every time you walk the array multiplying by a constant, you should seek to store values in such a way that it does not need that treatment. If you are taking sin and cos each time through (presumably, added to some angle), it should be pre-multiplied for the fastest implementation of sin and cos available.