add vec2.angle(...)

This commit is contained in:
MihailRis
2024-07-29 16:54:57 +03:00
parent 2b7b68f3c2
commit 753fb6bf3b
4 changed files with 35 additions and 0 deletions
+2
View File
@@ -58,6 +58,8 @@ namespace lua {
" expected)");
}
}
[[nodiscard]]
inline uint check_argc(lua::State* L, int a, int b) {
int argc = lua::gettop(L);
if (argc == a || argc == b) {