8 lines
221 B
JavaScript
8 lines
221 B
JavaScript
|
// xDeg, Copyright 2001-2005 Michael Foster (Cross-Browser.com)
|
||
|
// Part of X, a Cross-Browser Javascript Library, Distributed under the terms of the GNU LGPL
|
||
|
|
||
|
function xDeg(rad)
|
||
|
{
|
||
|
return rad * (180 / Math.PI);
|
||
|
}
|