lua::toquat fix

This commit is contained in:
Onran 2026-04-04 20:33:57 +09:00 • committed by GitHub
parent ec5e447057
commit 9d7e95db80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -402,7 +402,7 @@ namespace lua {
pop(L);
pop(L);
return glm::quat(x, y, z, w);
return glm::quat(w, x, y, z);
}
inline glm::vec3 tovec3_stack(lua::State* L, int idx) {