Vector Functions
#include <Imath/ImathVecAlgo.h>
Functions that operate on vectors.
-
template<class Vec>
constexpr Vec Imath::closestVertex(const Vec &v0, const Vec &v1, const Vec &v2, const Vec &p) noexcept
Find the vertex of triangle (v0, v1, v2)
that is closest to point p
(Vec2
, Vec3
, Vec4
)