| 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>(); |
nothing calls this directly
no test coverage detected