projects
/
chise
/
kage.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improved head shpae of R2LD harai.
[chise/kage.git]
/
engine
/
polygons.js
diff --git
a/engine/polygons.js
b/engine/polygons.js
index
5e3c8b8
..
a52305c
100755
(executable)
--- a/
engine/polygons.js
+++ b/
engine/polygons.js
@@
-1,5
+1,10
@@
function Polygons(){
\r
// method
\r
+ function clear(){ // void
\r
+ this.array = new Array();
\r
+ }
\r
+ Polygons.prototype.clear = clear;
\r
+
\r
function push(polygon){ // void
\r
// only a simple check
\r
var minx = 200;
\r