diff options
Diffstat (limited to 'brutalmaze/misc.py')
-rw-r--r-- | brutalmaze/misc.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/brutalmaze/misc.py b/brutalmaze/misc.py index 008d7cf..a5cb78a 100644 --- a/brutalmaze/misc.py +++ b/brutalmaze/misc.py @@ -63,17 +63,12 @@ def sign(n): def deg(x): - """Convert angle x from radians to degrees casted to a nonnegative - integer. + """Convert angle x from radians to degrees, + casted to a nonnegative integer. """ return round2((lambda a: a if a > 0 else a + 360)(degrees(x))) -def cosin(x): - """Return the sum of cosine and sine of x (measured in radians).""" - return cos(x) + sin(x) - - def join(iterable, sep=' ', end='\n'): """Return a string which is the concatenation of string representations of objects in the iterable, separated by sep. |