MCPcopy Create free account
hub / github.com/DiligentGraphics/DiligentFX / ToGfMatrix4d

Function ToGfMatrix4d

Hydrogent/interface/GfTypeConversions.hpp:153–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151
152template <typename T>
153pxr::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
165template <typename T>
166Matrix4x4<T> ToMatrix4x4(const pxr::GfMatrix4f& m)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected