given two vectors u = (u_x, u_y, u_z)
and v = (v_x, v_y, v_z)
u x v = n <-- the normal vector
n_x = (u_y * v_z) - (u_z * v_y)
n_y = (u_x * v_z) - (u_z * v_x)
n_z = (u_x * v_y) - (u_y * v_x)
where n = (n_x, n_y, n_z)
There's the equation. Hopefully I got that right.
Khawk
-----
I edited the post since some of it was missing because the board thought I was doing html.
[This message has been edited by Khawk (edited August 10, 1999).]