3 ms·
>As an API it might not be convenient but consider converting angles internally into a tuple of sin and cosine My friend, it's called a complex number. A unit
by alterom 1mo ago
>As an API it might not be convenient but consider converting angles internally into a tuple of sin and cosine
My friend,
it's called a complex number. A unit complex number, to be specific.
>Recall rotation is a linear transformation with a matrix whose entries are in terms of sin and cosine.
That's what multiplication of complex numbers is.
Can't wait till people here rediscover that a 3D rotation matrix has an axis-angle representation whose composition is given by quaternion multiplication.
At that, children, is why learning mathematics is important.
- srean 1mo ago> Can't wait till You have to wait and inordinate amount of negative time then. Or maybe it's us who has to do the waiting for you to catch up on what HN folks in general are knowledgeable about. I have a suggestion. Scroll to the bottom of this page. You will find a search box. Plug in the names of concepts you were thinking of. Enjoy. To be honest, I too have come close to sounding a smug clueless smartass in my youth - lectured a guy on longest common subsequence not knowing that he was the original author of the file compression utility on AT&T Unix that used the same several decades ago.