virtualx-engine/tools/editor/editor_scale.cpp

14 lines
176 B
C++
Raw Normal View History

#include "editor_scale.h"
#include "os/os.h"
static float scale = 1.0;
void editor_set_scale(float p_scale) {
scale=p_scale;
}
float editor_get_scale() {
return scale;
}