0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-23 09:26:51 -05:00

fix docs for Vector.angle, closes #471

This commit is contained in:
liabru 2018-06-11 19:32:00 +01:00
parent f7f77b4cf8
commit db30d79501

View file

@ -214,7 +214,7 @@ module.exports = Vector;
}; };
/** /**
* Returns the angle in radians between the two vectors relative to the x-axis. * Returns the angle between the vector `vectorB - vectorA` and the x-axis in radians.
* @method angle * @method angle
* @param {vector} vectorA * @param {vector} vectorA
* @param {vector} vectorB * @param {vector} vectorB