DarkRadiant: master 6570ea18

Author Committer Branch Timestamp Parent
Matthew Mott Matthew Mott master 05.10.2021 19:45 master 5e906970
Changeset Matrix4::transform() now uses Vector4's Eigen structure

Matrix4 was already using Eigen internally, but Vector4 wasn't. This meant that
the widely-used transform() method was creating a local Eigen vector in order
to perform the calculation, then converting it back into a BasicVector4. Now we
simply multiply use BasicVector4's internal Eigen structure directly.
mod - libs/math/Matrix4.h Diff File
mod - libs/math/Vector4.h Diff File