Hot answers tagged

2

There is very little geometrical meaning to the multiplication of two vectors and there are no well defined identities describing the result. But that doesn't make it illegal, and is an important part of many well defined functions such as the dot product. Multiplication of vectors also have several important identities that allow terms to be moved around in ...


1

You shouldn’t need to use any trigonometry here at all. If you get the vector from v1 to v2 and divide it by the number of points you want along the line, each subsequent point is v1 + (that vector) × (the index of the point). Works in any number of dimensions, faster than the trigonometric approach. v1 = Vector(100, 200, 300) v2 = Vector(500, 400, 300) ...


Only top voted, non community-wiki answers of a minimum length are eligible