DarkRadiant: master 8eca9e4d
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
Matthew Mott | Matthew Mott | master | 28.09.2021 19:49 | master 1aef650a |
Changeset | Streamline Matrix4::translation() and tCol() translation() was calling tCol().getVector3(), but tCol() was constructing the Vector4 by appending the tw() component, only to have it stripped off again by the call to getVector3(). These methods are now flipped around so that translation() uses the Eigen API to extract the first 3 components directly, and tCol() then adds the tw() component to create a Vector4. |
|||
mod - libs/math/Matrix4.h | Diff File |