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

Function addT

src/python/PyImath/PyImathShear.cpp:299–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297
298template <class T>
299static Shear6<T>
300addT(Shear6<T> &v, T a)
301{
302 MATH_EXC_ON;
303 Shear6<T> w;
304
305 w[0] = v[0] + a;
306 w[1] = v[1] + a;
307 w[2] = v[2] + a;
308 w[3] = v[3] + a;
309 w[4] = v[4] + a;
310 w[5] = v[5] + a;
311
312 return w;
313}
314
315template <class T>
316static Shear6<T>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected