Started using evol's sleep_ms

Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
This commit is contained in:
2021-04-24 17:45:55 +02:00
parent 16c1d14667
commit 9dc81756a8

View File

@@ -2,6 +2,7 @@
#include <evol/common/ev_log.h>
#include <evol/common/ev_macros.h>
#include <evol/common/ev_profile.h>
#include <evol/utils/sleep.h>
#define TYPE_MODULE evmod_glfw
#include <evol/meta/type_import.h>
@@ -135,6 +136,7 @@ int main(int argc, char **argv)
Vec3 pos = Rigidbody->getPosition(testHandle);
printf("Current position of Entity1 = (%f, %f, %f)\n", pos.x, pos.y, pos.z);
sleep_ms(17);
}
evol_unloadmodule(physics_module);