minor fix regarding y coordinate of y

This commit is contained in:
lbaumberger
2026-04-26 23:24:18 +02:00
parent 820ecbfcdd
commit 7f9946f6a0
4 changed files with 999947 additions and 1199947 deletions
+2 -2
View File
@@ -117,11 +117,11 @@ int main(int argc, const char *argv[]) {
if (p.color == WHITE && p.curr_pos.x > (BOARD_LENGTH - 1.5)) {
// basically just keep the y position and reset the x
p.curr_pos.x = 1.0;
p.destination.y = p.curr_pos.y;
// p.destination.y = p.curr_pos.y;
}
if (p.color == BLACK && p.curr_pos.x < 1.5) {
p.curr_pos.x = BOARD_LENGTH - 1.0;
p.destination.y = p.curr_pos.y;
// p.destination.y = p.curr_pos.y;
}
// # 10 flops = 5 ADDs, 2 DIVs, 1 SQRT, 2 MULTs
Binary file not shown.
+999945 -1199945
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.