Resolving Vector in 3D Space.

Started by
0 comments, last by Fruny 18 years, 11 months ago
Ok. Today while working with forces I came across one problem. If I want to resolve a vector in 2D space then we get Cos and Sin componets for that vector in x and y axis. Now If I have a vector in 3D space then how to resolve that single vector into 3 axis. Please help I want to resolve my force into 3 axis.
MOV AL, 0x00MOV AL, ME
Advertisement
Spherical Coordinates ?

In C, atan2() will prove very useful.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan

This topic is closed to new replies.

Advertisement