mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
lua::toquat fix
This commit is contained in:
parent
ec5e447057
commit
9d7e95db80
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue