#include <string>
#include <iostream>
#include <fstream>
#include <vector>
#include <sstream>
Go to the source code of this file.
|
| FileLoader |
| A namespace that contains functions to load in files.
|
|
|
std::string | FileLoader::loadShaderFile (std::string fileName) |
|
void | FileLoader::loadOBJFile (std::string objFileName, std::vector< float > &vertices, std::vector< float > &vertexNormals, std::vector< float > &vertexTextures) |
|
void | FileLoader::loadXYZFloats (std::stringstream &streamLine, std::vector< float > &vectorArray) |
|
void | FileLoader::loadUVFloats (std::stringstream &streamLine, std::vector< float > &vectorArray) |
|
void | FileLoader::sortWithIndices (std::stringstream &streamLine, std::vector< float > &loadedVertices, std::vector< float > &loadedVertexNormals, std::vector< float > &loadedVertexTextures, std::vector< float > &vertices, std::vector< float > &vertexNormals, std::vector< float > &vertexTextures) |
|