mirror of
https://github.com/liabru/matter-js.git
synced 2024-12-26 13:49:01 -05:00
Update JSDoc
This might need fixing later, I don't know if I did it right.
This commit is contained in:
parent
d17eb6c9b4
commit
aa3eabc5fe
1 changed files with 2 additions and 0 deletions
|
@ -137,6 +137,7 @@ var Mouse = {};
|
|||
* Sets the offset
|
||||
* @method setOffset
|
||||
* @param {mouse} mouse
|
||||
* @param {offset} offset
|
||||
*/
|
||||
Mouse.setOffset = function(mouse, offset) {
|
||||
mouse.offset.x = offset.x;
|
||||
|
@ -149,6 +150,7 @@ var Mouse = {};
|
|||
* Sets the scale
|
||||
* @method setScale
|
||||
* @param {mouse} mouse
|
||||
* @param {scale} scale
|
||||
*/
|
||||
Mouse.setScale = function(mouse, scale) {
|
||||
mouse.scale.x = scale.x;
|
||||
|
|
Loading…
Reference in a new issue