[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [femm] [How can I use "sine function" in lua script?]



You should write :
...
point_x = 50 * cos(delta)
point_y = 50 * sin(delta)

addnode(point_x, point_y)
...

where delta is in degree.

Tsarafidy.

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com