3 ms·
> I can remember that I was introduced to sine and cosine through game programming before it was discussed in school. I was introduced to it slightly after I w
by TeMPOraL 7y ago
> I can remember that I was introduced to sine and cosine through game programming before it was discussed in school.
I was introduced to it slightly after I was in school, but unlike school, gamedev is what made me actually understand it. Then the whole trigonometry, and basics of vector arithmetic and matrices. School for me was boring repetition of arbitrary tasks forced top-down by unpleasant people. Wanting to make my own game, that gave me huge motivation.
(Then I went to university, and on the first year's physics lab, I was asked to solve something on a whiteboard. It was a simple thing involving a vector cross product, so I proceeded to write out the formula and calculate the result. TA looked bewildered and asked me what the hell am I doing? Turns out, I was supposed to first do a whole dance around base vectors and 3x3 matrices to derive the appropriate formula, which I simply memorized when I was 14, having implemented it in C++ half a dozen times. Turns out, gamedev-driven education can leave you with holes in theory.)
- xamuel 7y agoRe your parenthetical story, So like, the TA asked you to compute <1,2,3>X<4,5,6> and you jumped straight to <2x6-3x5, -(1x6-3x4), 1x5-2x4>, without the intermediate step of | i j k | | 1 2 3 | | 4 5 6 |? Or did you begin by computing the angle between the two vectors, so as to use the sine formula for cross product? Either way, I can certainly understand how your classmates (and TA) would be bewildered (especially if the two vectors were such that it wasn't immediately obvious what the angle between them was).
- TeMPOraL 7y agoThe first one. I jumped straight to the component-wise formula. TA expected to see the matrix you wrote above (except AFAIR transposed, but I might recall wrong). I understand why TA didn't like it, though back then I wasn't happy that my short and "obvious" solution wasn't received well.