Skip to content

Commit

Permalink
Add Vert/Tex Count Displays (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
datacrystals committed May 10, 2022
1 parent 36a632f commit 5d680be
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -470,3 +470,22 @@ std::vector<bool> ERS_CLASS_InputOutputSubsystem::BatchWriteAssets(

return StatusVector;
}



std::string ERS_CLASS_InputOutputSubsystem::GetCurrentTime() {


std::time_t RawCurrentTime;
std::tm *TimeInformation;
char TimeBuffer[80];

std::time(&RawCurrentTime);
TimeInformation = std::localtime(&RawCurrentTime);

std::strftime(TimeBuffer, 80, "%Y-%m-%d-%H-%M-%S", TimeInformation);
std::string CurrentTime = std::string(TimeBuffer);

return CurrentTime;

}

0 comments on commit 5d680be

Please sign in to comment.