mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Use getRotationRadians
This commit is contained in:
parent
1a8912716f
commit
d1a46a8da5
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ struct Transform {
|
|||
auto scale = mat.getScale();
|
||||
return {
|
||||
mat.getTranslation(),
|
||||
quaternion(mat.getRotationDegrees(scale) * DEGTORAD),
|
||||
quaternion(mat.getRotationRadians(scale)),
|
||||
scale,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue