MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / LoadFunctionSign

Function LoadFunctionSign

src/Core/Bindings/obe/Utils/Math/Math.cpp:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 MathNamespace.set_function("isDoubleInt", obe::Utils::Math::isDoubleInt);
62 }
63 void LoadFunctionSign(sol::state_view state)
64 {
65 sol::table MathNamespace = state["obe"]["Utils"]["Math"].get<sol::table>();
66 MathNamespace.set_function("obe::Utils::Math::sign",
67 sol::overload(static_cast<int (*)(int)>(obe::Utils::Math::sign),
68 static_cast<int (*)(double)>(obe::Utils::Math::sign)));
69 }
70 void LoadFunctionConvertToRadian(sol::state_view state)
71 {
72 sol::table MathNamespace = state["obe"]["Utils"]["Math"].get<sol::table>();

Callers

nothing calls this directly

Calls 1

overloadFunction · 0.85

Tested by

no test coverage detected