| 151 | |
| 152 | template <typename T> |
| 153 | pxr::GfMatrix4d ToGfMatrix4d(const Matrix4x4<T>& m) |
| 154 | { |
| 155 | // clang-format off |
| 156 | return pxr::GfMatrix4d{ |
| 157 | static_cast<double>(m._11), static_cast<double>(m._12), static_cast<double>(m._13), static_cast<double>(m._14), |
| 158 | static_cast<double>(m._21), static_cast<double>(m._22), static_cast<double>(m._23), static_cast<double>(m._24), |
| 159 | static_cast<double>(m._31), static_cast<double>(m._32), static_cast<double>(m._33), static_cast<double>(m._34), |
| 160 | static_cast<double>(m._41), static_cast<double>(m._42), static_cast<double>(m._43), static_cast<double>(m._44), |
| 161 | }; |
| 162 | // clang-format on |
| 163 | } |
| 164 | |
| 165 | template <typename T> |
| 166 | Matrix4x4<T> ToMatrix4x4(const pxr::GfMatrix4f& m) |
nothing calls this directly
no outgoing calls
no test coverage detected