Return to Snippet

Revision: 14301
at May 29, 2009 03:51 by alexaivars


Initial Code
// from http://actionsnippet.com/?p=1451
function angleDifference(angle0:Number, angle1:Number):Number{
    return Math.abs((angle0 + 180 -  angle1) % 360 - 180);
}

Initial URL

                                

Initial Description

                                

Initial Title
Difference Between Two Angles

Initial Tags
math

Initial Language
ActionScript 3