minor fix regarding y coordinate of y
This commit is contained in:
@@ -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
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user