first commit
This commit is contained in:
34
CS4451/proj3/PPM.cpp
Normal file
34
CS4451/proj3/PPM.cpp
Normal file
@@ -0,0 +1,34 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user