Skip to content
Snippets Groups Projects
Commit 989e1dc4 authored by Jean-Marc's avatar Jean-Marc
Browse files

i

parent a86914a3
No related branches found
No related tags found
No related merge requests found
Pipeline #189564 failed
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -9,7 +9,7 @@ Pixel::Pixel() ...@@ -9,7 +9,7 @@ Pixel::Pixel()
b = char(0); b = char(0);
} }
Pixel::Pixel(unsigned char x,unsigned char y, unsigned char z) Pixel::Pixel(char x, char y, char z)
{ {
assert(x>=0 && x<=255); assert(x>=0 && x<=255);
assert(y>=0 && y<=255); assert(y>=0 && y<=255);
......
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
class Pixel class Pixel
{ {
public : public :
unsigned char r; char r;
unsigned char g; char g;
unsigned char b; char b;
Pixel(); Pixel();
Pixel(unsigned char ro, unsigned char ve, unsigned char bl); Pixel(char ro, char ve, char bl);
Pixel operator=(Pixel p); Pixel operator=(Pixel p);
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment