fix: lua::tovec + add vecn.tostring
This commit is contained in:
@@ -336,7 +336,7 @@ namespace lua {
|
||||
}
|
||||
glm::vec<n, float> vec;
|
||||
for (int i = 0; i < n; i++) {
|
||||
rawgeti(L, 1);
|
||||
rawgeti(L, i+1);
|
||||
vec[i] = tonumber(L, -1);
|
||||
pop(L);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user