MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/Imath / setDirection

Function setDirection

src/python/PyImath/PyImathLine.cpp:217–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215
216template <class T>
217static void
218setDirection(Line3<T> &line, const Vec3<T> &dir)
219{
220 MATH_EXC_ON;
221 line.dir = dir.normalized();
222}
223
224template <class T>
225static void

Callers

nothing calls this directly

Calls 1

normalizedMethod · 0.80

Tested by

no test coverage detected