Original Post
Say i have 3 Vectors.
v, b, f, n
f perpendicular b.
n = v+f;
now i want n to be scaled so that the following is still true:
|n| = |v|
and
The komponent of n parallel to b must equal the komponent of v parallel to b;
so:
(v.b/|b|^2)*b=(n.b/|b|^2)*b
I need this for a simulation i''m making.
Thanks for any ideas.
-CProgrammer