Make dt=0 on first step, simplify code

This commit is contained in:
Oleg Kalachev
2023-05-31 20:07:38 +03:00
parent 4160b8da07
commit 9a93367629
6 changed files with 29 additions and 51 deletions

View File

@@ -13,10 +13,6 @@
#include <unistd.h>
#include <sys/poll.h>
using std::max;
using std::min;
using std::isfinite;
#define PI 3.1415926535897932384626433832795
#define DEG_TO_RAD 0.017453292519943295769236907684886
#define RAD_TO_DEG 57.295779513082320876798154814105