Instantly share code, notes, and snippets.
Very useful thank you!
Angle between two points makes no sense. You mean angle between two vectors.
@adius To the educated it makes no sense and to the uneducated it makes perfect sense ;)
@adius Thanks for the clarification. @adius
thx sir i love you
Great job. Very useful!
Thank you! Really useful for a Maths n00b like me! Googles Math.atan2...
@adius, @PAEz, not the angle between two points OR the angle between two vectors, but the angle of the vector from point A to point B.
+1 :) helpalot
it`s the angle beetween 2 radius vectors?
Find the angle between three points :
I used Math.atan2(v.e(2), v.e(1)) to get the angle of a Sylvester js unit vector / direction from a vector.
For some reason angleFrom kept giving me null hah.
Like it. Thanks