mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-29 03:33:48 +00:00
Fix typo that broke bone lock orientation
This commit is contained in:
parent
00900a9dfb
commit
cd17e34094
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ Vector getRotatedVector(const Vector &vec, float rot)
|
||||||
*/
|
*/
|
||||||
float s = sinf(rot);
|
float s = sinf(rot);
|
||||||
float c = cosf(rot);
|
float c = cosf(rot);
|
||||||
return c*vec.x - s*vec.y, s*vec.x + c*vec.y;
|
return Vector(c*vec.x - s*vec.y, s*vec.x + c*vec.y);
|
||||||
}
|
}
|
||||||
|
|
||||||
// note update this from float lerp
|
// note update this from float lerp
|
||||||
|
|
Loading…
Reference in a new issue