MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / ATan

Method ATan

LuaSTGPlus/LuaWrapper.cpp:1768–1772  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1766 return 1;
1767 }
1768 static int ATan(lua_State* L)LNOEXCEPT
1769 {
1770 lua_pushnumber(L, atan(luaL_checknumber(L, 1)) * LRAD2DEGREE);
1771 return 1;
1772 }
1773 static int ATan2(lua_State* L)LNOEXCEPT
1774 {
1775 lua_pushnumber(L, atan2(luaL_checknumber(L, 1), luaL_checknumber(L, 2)) * LRAD2DEGREE);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected