}
},
+ aabb2d: {
+ get: function () {
+ return new yuu.AABB(
+ this.x - this.scaleX / 2,
+ this.y - this.scaleY / 2,
+ this.x + this.scaleX / 2,
+ this.y + this.scaleY / 2);
+ },
+ set: function (aabb) {
+ this.x = aabb.x0 + aabb.w / 2;
+ this.y = aabb.y0 + aabb.h / 2;
+ this.scaleX = aabb.w;
+ this.scaleY = aabb.h;
+ }
+ },
+
yaw: { aliasSynthetic: "ypr[0]", chainable: true },
pitch: { aliasSynthetic: "ypr[1]", chainable: true },
roll: { aliasSynthetic: "ypr[2]", chainable: true },