I have a working form.
In that I three vectors with their known magnitude and angle in a polar coordinates. I need to do some arithematics on these vectors with *, /, - and + operators.
can some one help in VB code point.
thanx in advance.
Printable View
I have a working form.
In that I three vectors with their known magnitude and angle in a polar coordinates. I need to do some arithematics on these vectors with *, /, - and + operators.
can some one help in VB code point.
thanx in advance.
For + and -, figure out the x and y components of the angles/magnitudes via trig, add them together, them put the components back together to make the sum angle and magnitude.
As for * and / I have no idea except something about magnitudes multypling and angles rotating... :confused:
I don't have an answer myself, but look into most books on 3D graphics, they tend to cover vector math.
for vector multiplication, use the dot productor or the cross product. Look here