mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
multiline textbox mode
This commit is contained in:
parent
925ef426de
commit
256808630b
11 changed files with 260 additions and 51 deletions
|
|
@ -19,10 +19,6 @@ timeutil::ScopeLogTimer::~ScopeLogTimer() {
|
|||
std::cout << "Scope "<< scopeid_ <<" finished in "<< ScopeLogTimer::stop() << " micros. \n";
|
||||
}
|
||||
|
||||
float timeutil::time_value(float hour, float minute, float second) {
|
||||
return (hour + (minute + second / 60.0f) / 60.0f) / 24.0f;
|
||||
}
|
||||
|
||||
void timeutil::from_value(float value, int& hour, int& minute, int& second) {
|
||||
value *= 24;
|
||||
hour = value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue