I've tried the above formulae with no success. If the coords of the lines are
(0, 0) - (10, -10)
(0, 0) - (10, 10)
The angle should be 45. However, the first part of equation (x1*x2 + y1*y2 + z1*z2) results in 0.
0/x = 0
Any sugestions on where im going wrong?
Thanks