make circle laser turn speed rad/frame

This commit is contained in:
laochailan 2021-09-22 16:53:09 +02:00 committed by Andrei Alexeyev
parent d943e7ab88
commit 96d6e4499c
No known key found for this signature in database
GPG key ID: 72D26128040B9690

View file

@ -595,8 +595,7 @@ cmplx las_circle(Laser *l, float t) {
return 0;
}
// XXX: should turn speed be in rad/sec or rad/frame? currently rad/sec.
double turn_speed = creal(l->args[0]) / 60;
double turn_speed = creal(l->args[0]);
double time_ofs = cimag(l->args[0]);
double radius = creal(l->args[1]);