Review changes (indentation, spaces)

This commit is contained in:
fmOOmf
2022-10-26 22:10:15 +02:00
parent 57e4cbe402
commit 56ce3b0f42

View File

@@ -75,7 +75,7 @@ void Turtle::circle(mp_int_t radius, mp_float_t angle) {
mp_float_t oldHeading = heading();
mp_float_t length = std::fabs(angle * k_headingScale * radius);
int direction = 1; // 1=fwd, -1=backward
if (angle < 0) {direction =-1;}
if (angle < 0) { direction =-1; }
if (length > 1) {
for (int i = 1; i < length; i++) {
mp_float_t progress = i / length;