mirror of
https://github.com/g-truc/glm.git
synced 2026-01-18 17:21:28 +01:00
Revert Quaternion rotation order
This commit is contained in:
@@ -18,7 +18,7 @@ namespace glm
|
||||
T const AngleRad(angle);
|
||||
T const Sin = sin(AngleRad * static_cast<T>(0.5));
|
||||
|
||||
return qua<T, Q>::wxyz(cos(AngleRad * static_cast<T>(0.5)), Tmp.x * Sin, Tmp.y * Sin, Tmp.z * Sin) * q;
|
||||
return q * qua<T, Q>::wxyz(cos(AngleRad * static_cast<T>(0.5)), Tmp.x * Sin, Tmp.y * Sin, Tmp.z * Sin);
|
||||
}
|
||||
}//namespace glm
|
||||
|
||||
|
||||
@@ -104,6 +104,12 @@ target_link_libraries(main PRIVATE glm::glm)
|
||||
|
||||
## Release notes
|
||||
|
||||
### [GLM 1.0.3](https://github.com/g-truc/glm/1.0) - 2025-XX-XX
|
||||
|
||||
#### Fixes:
|
||||
- Fixed Quaternion `rotate` direction (reverted)
|
||||
- Fixed vec4 to vec3 conversion #1398
|
||||
|
||||
### [GLM 1.0.2](https://github.com/g-truc/glm/releases/tag/1.0.2) - 2025-10-15
|
||||
|
||||
#### Features:
|
||||
|
||||
Reference in New Issue
Block a user