|
Path Tracer
|
#include "InterfaceGestion.h"Functions | |
| void | clearScreenPrintHeader () |
| Clears the console and prints the header. More... | |
| void | availableCommandsHeader () |
| Prints a header before printing which commands are available. More... | |
| void | showCMDCursor (bool show) |
| Shows or hide the cursor in the interface. More... | |
| std::string | bool2string (bool b) |
| Converts a boolean to a string. More... | |
| double | getCurrentTimeSeconds () |
| Gives the number of seconds since 1st January 1970. More... | |
| double | randomDouble () |
| Computes a random double between 0 and 1. More... | |
| void availableCommandsHeader | ( | ) |
Prints a header before printing which commands are available.
| std::string bool2string | ( | bool | b | ) |
Converts a boolean to a string.
| b | The boolean that will be converted. |
| void clearScreenPrintHeader | ( | ) |
Clears the console and prints the header.
| double getCurrentTimeSeconds | ( | ) |
Gives the number of seconds since 1st January 1970.
| double randomDouble | ( | ) |
| void showCMDCursor | ( | bool | show | ) |
Shows or hide the cursor in the interface.
Used code from Captain Obvlious. Remove blinking underscore on console / cmd prompt. [Accessed 28th December 2020]. Stackoverflow. 3rd August 2013. Available from: https://stackoverflow.com/a/18028927/12637970.
| show | Whether the cursor will be shown or hidden. |