0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-27 13:59:01 -05:00

changed vertices in Bounds.create to optional

This commit is contained in:
liabru 2014-04-28 12:50:08 +01:00
parent b98cef000d
commit ee96d16cb5

View file

@ -19,7 +19,10 @@ var Bounds = {};
min: { x: 0, y: 0 },
max: { x: 0, y: 0 }
};
if (vertices)
Bounds.update(bounds, vertices);
return bounds;
};