0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2025-03-14 00:38:41 -04:00
This commit is contained in:
Neelabh Priyam Jha 2024-05-17 13:51:24 +02:00 committed by GitHub
commit bce7f7c33a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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()
];
})();
})();