Skip to content

Commit 5c9c00b

Browse files
committed
Removed un-used code.
1 parent 887227a commit 5c9c00b

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

src/physics/matter-js/components/Transform.js

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -209,14 +209,6 @@ var Transform = {
209209
get: function ()
210210
{
211211
return this.body.centerOffset.x;
212-
213-
// return this.body.centerOfMass.x;
214-
215-
// var body = this.body;
216-
217-
// return body.render.sprite.xOffset + ((body.centerOfMass.x - (this.width / 2)) / this.width);
218-
219-
// return body.render.sprite.xOffset + ((body.centerOfMass.x - (this.width / 2)) / this.width);
220212
}
221213
},
222214

@@ -240,16 +232,6 @@ var Transform = {
240232
get: function ()
241233
{
242234
return this.body.centerOffset.y;
243-
244-
// return 0.5;
245-
246-
// return this.body.centerOfMass.y - this.displayOriginY;
247-
248-
// return this.body.centerOfMass.y;
249-
250-
// var body = this.body;
251-
252-
// return body.render.sprite.yOffset + ((body.centerOfMass.y - (this.height / 2)) / this.height);
253235
}
254236
},
255237

0 commit comments

Comments
 (0)