[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: mathlib
- From: Dirk Laurie <dirk.laurie@...>
- Date: Fri, 4 Apr 2014 10:16:20 +0200
2014-04-04 10:04 GMT+02:00 Dirk Laurie <dirk.laurie@gmail.com>:
>> - deg, rad, pow: trivially done without the library.
>
> These may go. They are remnants of languages that have neither
> an exponentiation operator nor math.pi.
Perhaps I should share what I do, since I regard it as more
readable than all those math.rad calls:
local degrees=math.pi/180
local x = r*cos(60*degrees)