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

Function interpretAxis

src/python/PyImath/PyImathEuler.cpp:302–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300// needed to convert Eulerf::Axis to Euler<T>::Axis
301template <class T>
302static typename Euler<T>::Axis interpretAxis(typename IMATH_NAMESPACE::Eulerf::Axis axis)
303{
304 if (axis == IMATH_NAMESPACE::Eulerf::X)
305 return Euler<T>::X;
306 else if (axis == IMATH_NAMESPACE::Eulerf::Y)
307 return Euler<T>::Y;
308 else
309 return Euler<T>::Z;
310}
311
312template <class T>
313static Euler<T> *

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected