35 lines
465 B
C++
35 lines
465 B
C++
#include "PPM.h"
|
|
|
|
#include <string>
|
|
#include <iostream>
|
|
#include <fstream>
|
|
|
|
void PPM::init(std::string fileName) {
|
|
return;
|
|
}
|
|
|
|
|
|
PPM::PPM() {
|
|
|
|
}
|
|
|
|
PPM::PPM(char* fileName) {
|
|
|
|
}
|
|
|
|
void PPM::readIn(char* fileName) {
|
|
std::fstream file;
|
|
|
|
file.open(fileName, std::fstream::in);
|
|
|
|
//First we read in the header
|
|
//while (file.getline(
|
|
|
|
file.close();
|
|
}
|
|
|
|
RGB PPM::getAt(int x, int y) {
|
|
RGB rgb;
|
|
return rgb;
|
|
}
|