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

Function LoadFunctionGetMax

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

Source from the content-addressed store, hash-verified

26 obe::Utils::Math::getMin)));
27 }
28 void LoadFunctionGetMax(sol::state_view state)
29 {
30 sol::table MathNamespace = state["obe"]["Utils"]["Math"].get<sol::table>();
31 MathNamespace.set_function("obe::Utils::Math::getMax",
32 sol::overload(
33 static_cast<int (*)(const int&, const int&)>(obe::Utils::Math::getMax),
34 static_cast<double (*)(const double&, const double&)>(
35 obe::Utils::Math::getMax)));
36 }
37 void LoadFunctionIsBetween(sol::state_view state)
38 {
39 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