Procházet zdrojové kódy

Merge pull request #7828 from neeh/patch-1

Credit algorithm author and link to paper
David Catuhe před 5 roky
rodič
revize
35fee404b3
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      src/Collisions/collider.ts

+ 3 - 0
src/Collisions/collider.ts

@@ -70,6 +70,9 @@ var getLowestRoot: (a: number, b: number, c: number, maxR: number) => { root: nu
 
 /** @hidden */
 export class Collider {
+    // Implementation of the "Improved Collision detection and Response" algorithm proposed by Kasper Fauerby
+    // https://www.peroxide.dk/papers/collision/collision.pdf
+
     /** Define if a collision was found */
     public collisionFound: boolean;