| 17 | MathNamespace.set_function("randfloat", obe::Utils::Math::randfloat); |
| 18 | } |
| 19 | void LoadFunctionGetMin(sol::state_view state) |
| 20 | { |
| 21 | sol::table MathNamespace = state["obe"]["Utils"]["Math"].get<sol::table>(); |
| 22 | MathNamespace.set_function("obe::Utils::Math::getMin", |
| 23 | sol::overload( |
| 24 | static_cast<int (*)(const int&, const int&)>(obe::Utils::Math::getMin), |
| 25 | static_cast<double (*)(const double&, const double&)>( |
| 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>(); |
nothing calls this directly
no test coverage detected