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

Method Cos

LuaSTGPlus/LuaWrapper.cpp:1748–1752  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1746 return 1;
1747 }
1748 static int Cos(lua_State* L)LNOEXCEPT
1749 {
1750 lua_pushnumber(L, cos(luaL_checknumber(L, 1) * LDEGREE2RAD));
1751 return 1;
1752 }
1753 static int ASin(lua_State* L)LNOEXCEPT
1754 {
1755 lua_pushnumber(L, asin(luaL_checknumber(L, 1)) * LRAD2DEGREE);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected