Gen dot product


    Aug 07 2012 | 7:55 pm
    Hi,
    How do you get the angle between two vectors A and B in Gen ?
    The formulae is the following : acos( dot(A,B) / length(A)*length(B) ) but I can't make it work ?

    • Aug 07 2012 | 10:39 pm
      It works for me. Make sure you send the right matrix before the left one:
    • Aug 08 2012 | 12:01 am
      Oh, thanks ! You are probably right, I may not have clicked the matrix in the right order... And thanks for posting the original formula on the forum, it's a good example on how Gen can be easy !