@@ -9,7 +9,7 @@ namespace Lookups {
99
1010/* *
1111 * @brief Generates a bitboard of all squares a bishop can attack moving northeast from the given square.
12- * @param sq The square index (0-63).
12+ * @param square The square index (0-63).
1313 * @return Bitboard of all squares attacked by a bishop moving northeast.
1414 */
1515constexpr uint64_t bishop_northeast_attacks (int square) {
@@ -28,7 +28,7 @@ constexpr uint64_t bishop_northeast_attacks(int square) {
2828
2929/* *
3030 * @brief Generates a bitboard of all squares a bishop can attack moving northwest from the given square.
31- * @param sq The square index (0-63).
31+ * @param square The square index (0-63).
3232 * @return Bitboard of all squares attacked by a bishop moving northwest.
3333 */
3434constexpr uint64_t bishop_northwest_attacks (int square) {
@@ -47,7 +47,7 @@ constexpr uint64_t bishop_northwest_attacks(int square) {
4747
4848/* *
4949 * @brief Generates a bitboard of all squares a bishop can attack moving southeast from the given square.
50- * @param sq The square index (0-63).
50+ * @param square The square index (0-63).
5151 * @return Bitboard of all squares attacked by a bishop moving southeast.
5252 */
5353constexpr uint64_t bishop_southeast_attacks (int square) {
@@ -66,7 +66,7 @@ constexpr uint64_t bishop_southeast_attacks(int square) {
6666
6767/* *
6868 * @brief Generates a bitboard of all squares a bishop can attack moving southwest from the given square.
69- * @param sq The square index (0-63).
69+ * @param square The square index (0-63).
7070 * @return Bitboard of all squares attacked by a bishop moving southwest.
7171 */
7272constexpr uint64_t bishop_southwest_attacks (int square) {
@@ -85,7 +85,7 @@ constexpr uint64_t bishop_southwest_attacks(int square) {
8585
8686/* *
8787 * @brief Generates a bitboard of all squares a bishop can attack from the given square in all directions.
88- * @param sq The square index (0-63).
88+ * @param square The square index (0-63).
8989 * @return Bitboard of all squares attacked by a bishop from the given square.
9090 */
9191constexpr uint64_t bishop_attacks_for_square (int square) {
0 commit comments