mirror of
https://github.com/liabru/matter-js.git
synced 2025-03-14 00:38:41 -04:00
Merge 5c49b96332
into 0b131a499c
This commit is contained in:
commit
bce7f7c33a
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ module.exports = Vector;
|
|||
};
|
||||
|
||||
/**
|
||||
* Returns the magnitude (length) of a vector (therefore saving a `sqrt` operation).
|
||||
* Returns the squared magnitude (length) of a vector (therefore saving a `sqrt` operation).
|
||||
* @method magnitudeSquared
|
||||
* @param {vector} vector
|
||||
* @return {number} The squared magnitude of the vector
|
||||
|
@ -236,4 +236,4 @@ module.exports = Vector;
|
|||
Vector.create(), Vector.create()
|
||||
];
|
||||
|
||||
})();
|
||||
})();
|
||||
|
|
Loading…
Add table
Reference in a new issue