Scalar Multiplication
I'm sure for many years you have been multiplying scalars by other scalars. Remember, a scalar quantity is just an ordinary number. Let's turn our attention to a scalar times a vector. If you think about a vector expressed in polar coordinates, all you have is a magnitude and a direction. When you multiply a scalar by that vector, all you're really doing is changing the magnitude by scaling it up or down. If the scalar value is a whole number, the magnitude gets larger. Likewise, if the scalar is a fraction less than 1, the magnitude gets smaller.
Scalar Multiplication in Polar Coordinatesfor any scalar c and vector . |
Get Beginning Math and Physics for Game Programmers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.