~~NOTOC~~ <=[[4rpl:start| Index]] \\ <=[[4rpl:start#math_utility| Math Utility]] ====== VectorAngle ====== VectorAngle(<-from <-to) ->rotAngle ===== Description ===== Returns the angle in degrees between from and to. The angle returned is always the non reflex angle between the two vectors - ie the smaller of the two possible angles between them and never greater than 180 degrees. NOTE: This routine does NOT work with 4 dimensional vectors. The 4th dimension will be ignored (treated as 0). ===== Examples ===== trace(VectorAngle(V3(1 2 3) V3(3 4 5))) <=[[4rpl:start| Index]]