projects
/
featherfall2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Attach wings via physics engine (they're now... odd.)
[featherfall2.git]
/
src
/
yuu
/
core.js
diff --git
a/src/yuu/core.js
b/src/yuu/core.js
index
b526131
..
1923d2c
100644
(file)
--- a/
src/yuu/core.js
+++ b/
src/yuu/core.js
@@
-740,6
+740,9
@@
size: { swizzle: "wh" },
+ hw: { get: function () { return this.w / 2; } },
+ hh: { get: function () { return this.h / 2; } },
+
contains: yf.argcd(
function (p) { return this.contains(p.x, p.y); },
function (x, y) {