CSM Shadows

This commit is contained in:
Antoine Pilote
2021-06-20 23:08:45 -04:00
parent 08288eee16
commit 1740a5707f
29 changed files with 628 additions and 210 deletions

View File

@@ -137,7 +137,7 @@ std::ofstream FileSystem::fileWriter;
bool FileSystem::BeginWriteFile(const std::string path)
{
fileWriter = std::ofstream();
fileWriter.open("example.txt");
fileWriter.open(path);
return false;
}
@@ -145,6 +145,8 @@ bool FileSystem::BeginWriteFile(const std::string path)
bool FileSystem::WriteLine(const std::string line)
{
fileWriter << line.c_str();
return true;
}
void FileSystem::EndWriteFile()