24 #ifndef PXR_BASE_GF_HOMOGENEOUS_H
25 #define PXR_BASE_GF_HOMOGENEOUS_H
66 float inv = (v[3] != 0.0f) ? 1.0
f/v[3] : 1.0
f;
67 return GfVec3f(inv * v[0], inv * v[1], inv * v[2]);
73 double inv = (v[3] != 0.0) ? 1.0/v[3] : 1.0;
74 return GfVec3d(inv * v[0], inv * v[1], inv * v[2]);
GfVec3f GfProject(const GfVec4f &v)
PXR_NAMESPACE_OPEN_SCOPE GF_API GfVec4f GfGetHomogenized(const GfVec4f &v)
GLboolean GLboolean GLboolean GLboolean a
GLboolean GLboolean GLboolean b
GF_API GfVec4f GfHomogeneousCross(const GfVec4f &a, const GfVec4f &b)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE