diff --git a/matter-js/matter-js.d.ts b/matter-js/matter-js.d.ts index 5c4426ea2d..e4c72b13c1 100644 --- a/matter-js/matter-js.d.ts +++ b/matter-js/matter-js.d.ts @@ -44,7 +44,7 @@ declare module Matter { /** * Clears the engine including the world, pairs and broadphase. - * @param engine + * @param engine */ static clear(engine:Engine):void; @@ -844,24 +844,24 @@ declare module Matter */ type?:string; } - + export class Query { /** * Casts a ray segment against a set of bodies and returns all collisions, ray width is optional. Intersection points are not provided. - * - * @param bodies - * @param startPoint - * @param endPoint + * + * @param bodies + * @param startPoint + * @param endPoint * @param [rayWidth] - * + * * @returns Object[] Collisions */ static ray( bodies:Array
, startPoint:Vector, endPoint:Vector, rayWidth?:number ):Array