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

Function rmulVec3Array

src/python/PyImath/PyImathQuat.cpp:391–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389
390template <class T>
391static FixedArray< Vec3<T> >
392rmulVec3Array(Quat<T> &quat, const FixedArray< Vec3<T> > &a)
393{
394 MATH_EXC_ON;
395 Matrix44<T> m = quat.toMatrix44();
396 size_t len = a.len();
397 FixedArray< Vec3<T> > r(len);
398 for (size_t i = 0; i < len; i++)
399 r[i] = a[i] * m;
400 return r;
401}
402
403template <class T>
404static Quat<T> *

Callers

nothing calls this directly

Calls 2

toMatrix44Method · 0.45
lenMethod · 0.45

Tested by

no test coverage detected