From 549940b5b6c58fca16602512e27f6101a62b37db Mon Sep 17 00:00:00 2001 From: 22003 <91586848+22003@users.noreply.github.com> Date: Mon, 25 Nov 2024 16:56:40 +0400 Subject: [PATCH] Update project_3x3_rubik_solver.cpp --- project_3x3_rubik_solver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project_3x3_rubik_solver.cpp b/project_3x3_rubik_solver.cpp index fcd5de5..ccc90f6 100644 --- a/project_3x3_rubik_solver.cpp +++ b/project_3x3_rubik_solver.cpp @@ -626,7 +626,7 @@ void orientYellowEdges() { } } -bool areYellowEdgesOriented() { +bool isYellowEdgesOriented() { // Check if edges match their center colors return (cube[FRONT][0][1] == cube[FRONT][1][1] && cube[RIGHT][0][1] == cube[RIGHT][1][1] && @@ -634,7 +634,7 @@ bool areYellowEdgesOriented() { cube[LEFT][0][1] == cube[LEFT][1][1]); } -bool areYellowCornersPositioned() { +bool isYellowCornersPositioned() { int rotations = 0; for (int i = 0; i < 4; i++) { if (cube[FRONT][0][0] != cube[FRONT][0][2] ||