yes, but it works with degrees. and you can get rid of a log() call by combining the two angles.