topical media & game development

talk show tell print

math -- animation 14

math(s) / tutorial(s)

law of cosine(s)



  angleA = Math.acos((b*b + c*c - a*a) / (2 * b * c));
  angleB = Math.acos((a*a + c*c - b*b) / (2 * a * c));
  angleC = Math.acos((a*a + b*b - c*c) / (2 * a * b));
  


(C) Æliens 23/08/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.