16 lines
211 B
C
16 lines
211 B
C
//
|
|
// Created by nano on 5/1/25.
|
|
//
|
|
|
|
#include "cell.h"
|
|
|
|
int cell_equals(cell a, cell b) {
|
|
return (a.x == b.x && a.y == b.y);
|
|
}
|
|
|
|
void cell_add(cell *c, cell a, cell b) {
|
|
c->x = a.x + b.x;
|
|
c->y = a.y + b.y;
|
|
}
|
|
|