mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-30 10:20:52 -05:00
remove unused delta params
This commit is contained in:
parent
50fc8f2047
commit
a5729684d1
2 changed files with 9 additions and 10 deletions
|
@ -144,7 +144,7 @@ var Body = require('../body/Body');
|
|||
|
||||
// wake up bodies involved in collisions
|
||||
if (engine.enableSleeping)
|
||||
Sleeping.afterCollisions(pairs.list, delta);
|
||||
Sleeping.afterCollisions(pairs.list);
|
||||
|
||||
// iteratively resolve position between collisions
|
||||
Resolver.preSolvePosition(pairs.list);
|
||||
|
@ -516,7 +516,7 @@ var Body = require('../body/Body');
|
|||
*/
|
||||
|
||||
/**
|
||||
* The gravity x component.
|
||||
* The gravitational direction normal `x` component, to be multiplied by `gravity.scale`.
|
||||
*
|
||||
* @property gravity.x
|
||||
* @type object
|
||||
|
@ -524,7 +524,7 @@ var Body = require('../body/Body');
|
|||
*/
|
||||
|
||||
/**
|
||||
* The gravity y component.
|
||||
* The gravitational direction normal `y` component, to be multiplied by `gravity.scale`.
|
||||
*
|
||||
* @property gravity.y
|
||||
* @type object
|
||||
|
|
|
@ -63,9 +63,8 @@ var Common = require('./Common');
|
|||
* Given a set of colliding pairs, wakes the sleeping bodies involved.
|
||||
* @method afterCollisions
|
||||
* @param {pair[]} pairs
|
||||
* @param {number} delta
|
||||
*/
|
||||
Sleeping.afterCollisions = function(pairs, delta) {
|
||||
Sleeping.afterCollisions = function(pairs) {
|
||||
var motionSleepThreshold = Sleeping._motionSleepThreshold;
|
||||
|
||||
// wake up bodies involved in collisions
|
||||
|
|
Loading…
Reference in a new issue