//read pixel sRGB8 cTexture::Pixel(double x, double y) { sRGB8 black = sRGB8(0, 0, 0); if (x >= 0 && x < width && y >= 0 && y < height - 1.0) { return Interpolation(x, y); } else { return black; } }
inline sRGB8 Black8(void) { return sRGB8(0, 0, 0); }