Description:
Tweak area generation.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -140,8 +140,8 | |||||
|
140 | int min_squares = (message.min_squares == null) ? DEFAULT_MIN_SQUARES : (int)message.min_squares; |
|
140 | int min_squares = (message.min_squares == null) ? DEFAULT_MIN_SQUARES : (int)message.min_squares; |
|
141 |
|
141 | ||
|
142 |
|
142 | ||
|
143 | var odds_to_try = new[] {0.5f, 0.75f, 1.0f, 1.0f}; |
|
143 | var odds_to_try = new[] {0.5f, 0.75f, 1.0f, 0.5f, 0.75f, 1.0f}; |
|
144 | var retry_location = new[] {false, false, false, true}; |
|
144 | var retry_location = new[] {false, false, false, true, false, false}; |
|
145 | Debug.Assert(odds_to_try.Count() == retry_location.Count()); |
|
145 | Debug.Assert(odds_to_try.Count() == retry_location.Count()); |
|
146 | // foreach( double odds in odds_to_try ) |
|
146 | // foreach( double odds in odds_to_try ) |
|
147 | for(int i = 0; i < odds_to_try.Count(); i++) |
|
147 | for(int i = 0; i < odds_to_try.Count(); i++) |
You need to be logged in to leave comments.
Login now