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

Function ToVector3

Hydrogent/interface/GfTypeConversions.hpp:98–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96
97template <typename T>
98Vector3<T> ToVector3(const pxr::GfVec3f& v)
99{
100 return Vector3<T>{
101 static_cast<T>(v[0]),
102 static_cast<T>(v[1]),
103 static_cast<T>(v[2]),
104 };
105}
106
107template <typename T>
108Vector3<T> ToVector3(const pxr::GfVec3d& v)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected