mirror of https://github.com/mosra/magnum.git
Browse Source
Allows to use them in (future) ObjectShape construction without unneded
verbosity:
new Physics::ObjectShape<Physics::Point2D>(o, {{1.0f, -2.5f}});
instead of:
new Physics::ObjectShape<Physics::Point2D>(o, Physics::Point2D(...));
pull/278/head
8 changed files with 16 additions and 16 deletions
Loading…
Reference in new issue