1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-25 09:44:02 +00:00

Fix typo that broke bone lock orientation

This commit is contained in:
fgenesis 2016-08-02 03:36:06 +02:00
parent 00900a9dfb
commit cd17e34094

View file

@ -62,7 +62,7 @@ Vector getRotatedVector(const Vector &vec, float rot)
*/
float s = sinf(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