From c1b27a5757ff5d951eec97a8fa0ab85101f9f20e Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 15 Sep 2013 22:33:28 -0400 Subject: Clean up docstrings for math module. --- 2d/math.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/2d/math.scm b/2d/math.scm index 21e5565..af46fff 100644 --- a/2d/math.scm +++ b/2d/math.scm @@ -58,25 +58,25 @@ (define pi 3.141592654) (define (degrees->radians angle) - "Converts angle in degrees to radians." + "Convert ANGLE in degrees to radians." (* angle (/ pi 180))) (define (radians->degrees angle) - "Converts angle in radians to degrees." + "Convert ANGLE in radians to degrees." (* angle (/ 180 pi))) (define (sin-degrees angle) - "Computes the sin of the angle expressed in degrees." + "Compute the sin of ANGLE expressed in degrees." (sin (degrees->radians angle))) (define (cos-degrees angle) - "Computes the cosine of the angle expressed in degrees." + "Compute the cosine of ANGLE expressed in degrees." (cos (degrees->radians angle))) (define (tan-degrees angle) - "Computes the tangent of the angle expressed in degrees." + "Compute the tangent of ANGLE expressed in degrees." (tan (degrees->radians angle))) (define (atan-degrees y x) - "Computes the arctangent in degrees of the coordinates x and y." + "Compute the arctangent in degrees of the coordinates Y and X." (radians->degrees (atan y x))) -- cgit v1.2.3