Skip to content

The Rotated Release

Compare
Choose a tag to compare
@sebjameswml sebjameswml released this 30 Sep 09:18
· 263 commits to main since this release
800e1fe

This point release fixes important bugs in rotation calculations in morph::Quaternion and morph::TransformMatrix and also adds the ability to set angle by axis/angle in the Quaternion constructor and compute rotations by quaternion multiplication. For example:

morph::Quaternion<double> q (u_x, morph::mathconst<double>::pi);
morph::vec<double, 3> v_in = { 2, 6, 0 };
morph::vec<double, 3> v_out = q * v_in;

I changed the name of one internally used method: Quaternion::initFromAxisAngle(vec<float>, float) is now called set_rotation.

It also incorporates some improvements to GridVisual by @fabien-colonnier including the ability to place a border around selected pixels in the Grid. Thanks Fabien!

Other minor changes include github actions for Apple Mac computers and some tweaks to spherical coordinates relating to Geodesics (GeodesicVisual).

What's Changed

Full Changelog: v3.0...v3.1