corrected method spelling Body.setInertia; corrected Method signature of Body.setParts

This commit is contained in:
David Asmuth
2016-01-30 21:10:08 +01:00
parent 5d0f2126c8
commit 4c47190e53
+2 -2
View File
@@ -612,7 +612,7 @@ declare module Matter {
* @param {body} body
* @param {number} inertia
*/
static setInterna(body: Body, interna: number): void;
static setInertia(body: Body, interna: number): void;
/**
* Sets the body's vertices and updates body properties accordingly, including inertia, area and mass (with respect to `body.density`).
* Vertices will be automatically transformed to be orientated around their centre of mass as the origin.
@@ -636,7 +636,7 @@ declare module Matter {
* @param [body] parts
* @param {bool} [autoHull=true]
*/
static setParts(body: Body, parts: Body, autoHull: boolean): void;
static setParts(body: Body, parts: Body[], autoHull?: boolean): void;
/**
* Sets the position of the body instantly. Velocity, angle, force etc. are unchanged.
* @method setPosition