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

Function ToGfMatrix4f

Hydrogent/interface/GfTypeConversions.hpp:140–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138
139template <typename T>
140pxr::GfMatrix4f ToGfMatrix4f(const Matrix4x4<T>& m)
141{
142 // clang-format off
143 return pxr::GfMatrix4f{
144 static_cast<float>(m._11), static_cast<float>(m._12), static_cast<float>(m._13), static_cast<float>(m._14),
145 static_cast<float>(m._21), static_cast<float>(m._22), static_cast<float>(m._23), static_cast<float>(m._24),
146 static_cast<float>(m._31), static_cast<float>(m._32), static_cast<float>(m._33), static_cast<float>(m._34),
147 static_cast<float>(m._41), static_cast<float>(m._42), static_cast<float>(m._43), static_cast<float>(m._44),
148 };
149 // clang-format on
150}
151
152template <typename T>
153pxr::GfMatrix4d ToGfMatrix4d(const Matrix4x4<T>& m)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected