HDK
|
Go to the source code of this file.
Functions | |
template<class Vec > | |
IMATH_INTERNAL_NAMESPACE_HEADER_ENTER IMATH_CONSTEXPR14 Vec | closestVertex (const Vec &v0, const Vec &v1, const Vec &v2, const Vec &p) IMATH_NOEXCEPT |
IMATH_INTERNAL_NAMESPACE_HEADER_ENTER IMATH_CONSTEXPR14 Vec closestVertex | ( | const Vec & | v0, |
const Vec & | v1, | ||
const Vec & | v2, | ||
const Vec & | p | ||
) |
Find the vertex of triangle (v0, v1, v2)
that is closest to point p
(Vec2
, Vec3
, Vec4
)
Definition at line 71 of file ImathVecAlgo.h.