MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / VecContainsZero

Function VecContainsZero

src/OpenColorIO/MathUtils.cpp:100–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100bool VecContainsZero(const float* v, int size)
101{
102 for(int i=0; i<size; ++i)
103 {
104 if(IsScalarEqualToZero(v[i])) return true;
105 }
106 return false;
107}
108
109bool VecContainsOne(const float* v, int size)
110{

Callers

nothing calls this directly

Calls 1

IsScalarEqualToZeroFunction · 0.85

Tested by

no test coverage detected