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

Method Tan

LuaSTGPlus/LuaWrapper.cpp:1763–1767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1761 return 1;
1762 }
1763 static int Tan(lua_State* L)LNOEXCEPT
1764 {
1765 lua_pushnumber(L, tan(luaL_checknumber(L, 1) * LDEGREE2RAD));
1766 return 1;
1767 }
1768 static int ATan(lua_State* L)LNOEXCEPT
1769 {
1770 lua_pushnumber(L, atan(luaL_checknumber(L, 1)) * LRAD2DEGREE);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected