Explorar el Código

lint error removed commas

Guide hace 6 años
padre
commit
05bf7b78e6
Se han modificado 2 ficheros con 12 adiciones y 12 borrados
  1. 6 6
      src/Physics/Plugins/ammoJSPlugin.ts
  2. 6 6
      src/Physics/physicsImpostor.ts

+ 6 - 6
src/Physics/Plugins/ammoJSPlugin.ts

@@ -1152,12 +1152,12 @@ export class AmmoJSPlugin implements IPhysicsEnginePlugin {
 
      /**
      * Append an anchor to a soft object
-     * @param impostor, soft impostor to add anchor to
-     * @param otherImpostor, rigid impostor as the anchor
-     * @param width, ratio across width from 0 to 1
-     * @param height, ratio up height from 0 to 1
-     * @param influence, the elasticity between soft impostor and anchor from 0, very stretchy to 1, no strech
-     * @param noCollisionBetweenLinkedBodies, when true collisions between soft impostor and anchor are ignored; default false
+     * @param impostor soft impostor to add anchor to
+     * @param otherImpostor rigid impostor as the anchor
+     * @param width ratio across width from 0 to 1
+     * @param height ratio up height from 0 to 1
+     * @param influence the elasticity between soft impostor and anchor from 0, very stretchy to 1, no strech
+     * @param noCollisionBetweenLinkedBodies when true collisions between soft impostor and anchor are ignored; default false
      */
     public appendAnchor(impostor: PhysicsImpostor, otherImpostor: PhysicsImpostor, width: number, height: number, influence: number = 1, noCollisionBetweenLinkedBodies: boolean = false) {
         var segs = impostor.segments;

+ 6 - 6
src/Physics/physicsImpostor.ts

@@ -949,12 +949,12 @@ export class PhysicsImpostor {
 
     /**
      * Add an anchor to a soft impostor
-     * @param otherImpostor, rigid impostor as the anchor
-     * @param width, ratio across width from 0 to 1
-     * @param height, ratio up height from 0 to 1
-     * @param influence, the elasticity between soft impostor and anchor from 0, very stretchy to 1, no strech
-     * @param noCollisionBetweenLinkedBodies, when true collisions between soft impostor and anchor are ignored; default false
-     * @returns impostor, the soft imposter
+     * @param otherImpostor rigid impostor as the anchor
+     * @param width ratio across width from 0 to 1
+     * @param height ratio up height from 0 to 1
+     * @param influence the elasticity between soft impostor and anchor from 0, very stretchy to 1, no strech
+     * @param noCollisionBetweenLinkedBodies when true collisions between soft impostor and anchor are ignored; default false
+     * @returns impostor the soft imposter
      */
     public addAnchor(otherImpostor: PhysicsImpostor, width: number, height: number, influence: number, noCollisionBetweenLinkedBodies: boolean): PhysicsImpostor {
         if (!this._physicsEngine) {