We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
center
TPattern
1 parent 50d298b commit 73b845dCopy full SHA for 73b845d
libs/patterns/structs.h
@@ -15,6 +15,7 @@ typedef struct {
15
char (*arr)[PATTERN_COLS]; /** 2D array representing the pattern. */
16
int rows; /** Number of rows of the pattern. */
17
int cols; /** Number of columns of the pattern. */
18
+ int center[2]; /** Array (row, and column) representing the center of the pattern. */
19
} TPattern;
20
21
#endif // PATTERNS_STRUCTS_H_INCLUDED
0 commit comments