MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / transpose

Method transpose

source/core/StarMatrix3.hpp:236–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234
235template <typename T>
236void Matrix3<T>::transpose() {
237 std::swap(m_rows[1][0], m_rows[0][1]);
238 std::swap(m_rows[2][0], m_rows[0][2]);
239 std::swap(m_rows[2][1], m_rows[1][2]);
240}
241
242template <typename T>
243void Matrix3<T>::invert() {

Callers 1

transposeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected