Parent Directory | Revision Log | Patch
revision 8 by torben, Fri Jul 20 16:58:04 2007 UTC | revision 9 by torben, Fri Jul 20 16:58:49 2007 UTC | |
---|---|---|
# | Line 87 void SolutionInt::mirror() | Line 87 void SolutionInt::mirror() |
87 | void SolutionInt::rotate90() | void SolutionInt::rotate90() |
88 | { | { |
89 | unsigned char temp[MAX_SIZE]; | unsigned char temp[MAX_SIZE]; |
90 | ||
91 | for (int i=0; i<m_size; i++) | for (int i=0; i<m_size; i++) |
92 | { | { |
93 | int x = i; | int x = i; |
94 | int y = m_matrix[i]; | int y = m_matrix[i]; |
95 | ||
96 | temp[y] = (m_size-1) - i; | temp[y] = (m_size-1) - x; |
97 | } | } |
98 | ||
99 | set( temp); | set( temp); |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |