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

everthing

parent bf07d059
No related branches found
No related tags found
No related merge requests found
Pipeline #190171 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
...@@ -86,11 +86,13 @@ ImageViewer::~ImageViewer() ...@@ -86,11 +86,13 @@ ImageViewer::~ImageViewer()
void ImageViewer::setSurfText(Image & im) void ImageViewer::setSurfText(Image & im)
{ {
/*
Uint32 rmask, gmask, bmask, amask; Uint32 rmask, gmask, bmask, amask;
rmask = 0xff000000; rmask = 0xff000000;
gmask = 0x00ff0000; gmask = 0x00ff0000;
bmask = 0x0000ff00; bmask = 0x0000ff00;
amask = 0x00000000; amask = 0x00000000;
*/
//im.ouvrir("./data/image1.ppm"); //im.ouvrir("./data/image1.ppm");
......
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
Pixel::Pixel() Pixel::Pixel()
{ {
r = 0; r = char(0);
g = 0; g = char(0);
b = 0; b = char(0);
} }
Pixel::Pixel(unsigned int x,unsigned int y, unsigned int z) Pixel::Pixel(unsigned int x,unsigned int y, unsigned int z)
......
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