mirror of
https://github.com/g-truc/glm.git
synced 2025-04-04 21:15:03 +00:00
Merge b7e770e501
into 2d4c4b4dd3
This commit is contained in:
commit
2da5d5ddcb
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ namespace glm
|
|||
T const AngleRad(angle);
|
||||
T const Sin = sin(AngleRad * static_cast<T>(0.5));
|
||||
|
||||
return q * qua<T, Q>::wxyz(cos(AngleRad * static_cast<T>(0.5)), Tmp.x * Sin, Tmp.y * Sin, Tmp.z * Sin);
|
||||
return qua<T, Q>::wxyz(cos(AngleRad * static_cast<T>(0.5)), Tmp.x * Sin, Tmp.y * Sin, Tmp.z * Sin) * q;
|
||||
}
|
||||
}//namespace glm
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue