tests/unstructured/UnstructuredMandelbrot/Mandelbrot_gold.cpp
inline int CheckColors(const uchar4 &color0, const uchar4 &color1)
{
	int x = color1.x - color0.x;
	int y = color1.y - color0.y;
	int z = color1.z - color0.z;
	return (ABS(x) > 10) || (ABS(y) > 10) || (ABS(z) > 10);
}
// Determine if two pixel colors are within tolerance
Determine if two pixel colors are within tolerance
Determine if two pixel colors are within tolerance
inline int CheckColors(const uchar4 &color0, const uchar4 &color1)
{
	int x = color1.x - color0.x;
	int y = color1.y - color0.y;
	int z = color1.z - color0.z;
	return (ABS(x) > 10) || (ABS(y) > 10) || (ABS(z) > 10);
}
inline int CheckColors ( const uchar4 & color0 , const uchar4 & color1 ) { int x = color1 . x - color0 . x ; int y = color1 . y - color0 . y ; int z = color1 . z - color0 . z ; return ( ABS ( x ) > 10 ) || ( ABS ( y ) > 10 ) || ( ABS ( z ) > 10 ) ; }
Determine if two pixel colors are within tolerance
Determine if two pixel colors are within tolerance