summaryrefslogtreecommitdiff
path: root/2d
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@member.fsf.org>2013-09-15 22:33:28 -0400
committerDavid Thompson <dthompson@member.fsf.org>2013-09-15 22:33:28 -0400
commitc1b27a5757ff5d951eec97a8fa0ab85101f9f20e (patch)
treeba288f66740ed39d462beca638a32f100903e371 /2d
parent4aefc3767fedb426a6279ab093ebd2e31d97c519 (diff)
Clean up docstrings for math module.
Diffstat (limited to '2d')
-rw-r--r--2d/math.scm12
1 files 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)))