Original Post
K, a vector is magnitude direction, right?
So let''s say you want to normalize vector x, the formula would be:
y = x / |x|
Now, |x| is the length of vector x. So what is ''x''? If |x| is the length, then ''x'' is the direction, right? What would I plug in for x?
(OpenGL Programming, pg 85.
Elben
"Give a man a fish and he will eat for a day. Teach a man how to fish and he will eat for a life time."
-Chinese Proverb
WiseElben.com - Experience Wisdom