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)
Copyright © OpenEXR a Series of LF Projects, LLC.
For web site terms of use, trademark policy and other project policies
please see https://lfprojects.org.