AGL  0
3D graphics library
util.cpp File Reference
Include dependency graph for util.cpp:

Namespaces

 agl
 

Functions

GLuint loadShaders (std::string vertShader, std::string fragShader)
 Load a pair of shaders. More...
 
GLuint loadShadersFromFile (const char *vsPath, const char *fsPath)
 Load shaders from files. More...
 
std::string readTextFile (const char *path)
 Reads a text file. More...
 
void saveImage (const char *path, int w, int h)
 Save the current render as a ppm image. More...