MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenShadingLanguage / equalWithAbsError

Method equalWithAbsError

src/include/OSL/matrix22.h:529–538  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527
528template <class T>
529bool
530Matrix22<T>::equalWithAbsError (const Matrix22<T> &m, T e) const
531{
532 for (int i = 0; i < 2; i++)
533 for (int j = 0; j < 2; j++)
534 if (!Imath::equalWithAbsError ((*this)[i][j], m[i][j], e))
535 return false;
536
537 return true;
538}
539
540template <class T>
541bool

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected