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
|
// wake up bodies involved in collisions
|
||||||
if (engine.enableSleeping)
|
if (engine.enableSleeping)
|
||||||
Sleeping.afterCollisions(pairs.list, delta);
|
Sleeping.afterCollisions(pairs.list);
|
||||||
|
|
||||||
// iteratively resolve position between collisions
|
// iteratively resolve position between collisions
|
||||||
Resolver.preSolvePosition(pairs.list);
|
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
|
* @property gravity.x
|
||||||
* @type object
|
* @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
|
* @property gravity.y
|
||||||
* @type object
|
* @type object
|
||||||
|
|
|
@ -63,9 +63,8 @@ var Common = require('./Common');
|
||||||
* Given a set of colliding pairs, wakes the sleeping bodies involved.
|
* Given a set of colliding pairs, wakes the sleeping bodies involved.
|
||||||
* @method afterCollisions
|
* @method afterCollisions
|
||||||
* @param {pair[]} pairs
|
* @param {pair[]} pairs
|
||||||
* @param {number} delta
|
|
||||||
*/
|
*/
|
||||||
Sleeping.afterCollisions = function(pairs, delta) {
|
Sleeping.afterCollisions = function(pairs) {
|
||||||
var motionSleepThreshold = Sleeping._motionSleepThreshold;
|
var motionSleepThreshold = Sleeping._motionSleepThreshold;
|
||||||
|
|
||||||
// wake up bodies involved in collisions
|
// wake up bodies involved in collisions
|
||||||
|
|
Loading…
Reference in a new issue