Closed Dante-666 closed 4 years ago
There is a G3D::FileSystem Class which was designed to do this. This should be easy enough for beginners. Just go through the class reference and perform some investigation.
Solved by using
settings.dataDir = G3D::FileSystem::NFDStandardizeFilename("../data-files");
https://github.com/Dante-666/bouncy-ball/blob/9b362930fa2510d859417541287bdfcc6c80ff26/src/bball.cc#L11