mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-30 20:13:22 +08:00
Support for out-of-source builds.
Uses environment variable to tell the program where to find resource files. Sharder sources are still search for in the current workind directory.
This commit is contained in:
@@ -31,7 +31,7 @@ public:
|
||||
|
||||
/* Functions */
|
||||
// Constructor, expects a filepath to a 3D model.
|
||||
Model(GLchar* path, bool gamma = false) : gammaCorrection(gamma)
|
||||
Model(string const & path, bool gamma = false) : gammaCorrection(gamma)
|
||||
{
|
||||
this->loadModel(path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user