Skip to content

Commit

Permalink
everythig to 2D
Browse files Browse the repository at this point in the history
  • Loading branch information
bmoren committed Feb 5, 2016
1 parent e4250e2 commit 3c37731
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# p5.collide2D
![p5.collide](p5collide.png)

#### A lightweight 2d collision library for p5.js
p5.collide contains some versions of, and references to, the functions in [Jeffrey Thompson's Collision Detection Book](http://www.jeffreythompson.org/collision-detection/)
#### A 2d collision library for p5.js
p5.collide2D contains some versions of, and references to, the functions in [Jeffrey Thompson's Collision Detection Book](http://www.jeffreythompson.org/collision-detection/)

[How to Add a library to your p5.js sketch](https://github.com/processing/p5.js/wiki/Libraries#adding-a-library-to-your-project)

p5.collide assumes the default p5.js rectMode(CORNER) and ellipseMode(CENTER)
p5.collide2D assumes the default p5.js rectMode(CORNER) and ellipseMode(CENTER)

All p5.collide functions return `true` if the specified geometry is colliding and `false` if they are not.
All p5.collide2D functions return `true` if the specified geometry is colliding and `false` if they are not.

p5.collide is licensed under the [GNU LGPL 2.1](LICENSE.txt)
p5.collide2D is licensed under the [GNU LGPL 2.1](LICENSE.txt)

## Live examples
+ [Basic Usage](https://bmoren.github.io/p5.collide2D/examples/basic/index.html)
Expand Down Expand Up @@ -42,7 +42,7 @@ p5.collide is licensed under the [GNU LGPL 2.1](LICENSE.txt)
+ [collidePointTriangle()](#collidepointtriangle)
+ [collide 2Dprimitive Triangle](#collide-2dprimitive-triangle)

## p5.collide examples & documentation
## p5.collide2D examples & documentation

#### collideDebug()
######collideDebug(debugMode, size, color)
Expand Down
File renamed without changes.

0 comments on commit 3c37731

Please sign in to comment.