12345678910111213141516171819202122232425 |
- //
- // Created by jovian on 31/07/17.
- //
- #ifndef TINYSHOOTER_B2ANGLE_H
- #define TINYSHOOTER_B2ANGLE_H
- #include "b2_math.h"
- /**
- * Give angle between u and v
- * @param u : First vector
- * @param v : Second vector
- * @return Float angle in radians
- */
- float b2Angle(b2Vec2 u, b2Vec2 v);
- /**
- * Give angle between u and horizon
- * @param u : Vector
- * @return Float angle in radians
- */
- float b2Angle(b2Vec2 u);
- #endif //TINYSHOOTER_B2ANGLE_H
|