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:
parent
f7f77b4cf8
commit
db30d79501
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue