mirror of https://github.com/mosra/magnum.git
Browse Source
Now you can write e.g.
Matrix4::translation(Vector3::xAxis(5.0f));
instead of these:
Matrix4::translation(Vector3::xAxis()*5.0f); // slow!
Matrix4::translation({5.0f, 0.0f, 0.0f}); // boring!
vectorfields
1 changed files with 6 additions and 6 deletions
Loading…
Reference in new issue