I just need a function that gives me the inverted sine. I've tried using

math.sin(x)^-1

but that doesn't work... How do you find the inverted sine of a number in lua?

有帮助吗?

解决方案

Do you mean arcsin ?

math.asin(x)

其他提示

I odn't know about Lua, but in most languages there's a function named asin() or arcsin().

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top