1350 |
int dicex = (int)fabs(2 * border * (1 / bx - 2) * nonl) + 1; |
int dicex = (int)fabs(2 * border * (1 / bx - 2) * nonl) + 1; |
1351 |
int dicey = (int)fabs(2 * border * (1 / by - 2) * nonl) + 1; |
int dicey = (int)fabs(2 * border * (1 / by - 2) * nonl) + 1; |
1352 |
|
|
1353 |
|
if(diceb > 20) diceb = 20; |
1354 |
|
if(dicex > 60) dicex = 60; |
1355 |
|
if(dicey > 60) dicey = 60; |
1356 |
|
|
1357 |
// Dicing number for each of the primitives |
// Dicing number for each of the primitives |
1358 |
int dice[] = { dicey, dicey, dicex, dicex, diceb, diceb, diceb, diceb }; |
int dice[] = { dicey, dicey, dicex, dicex, diceb, diceb, diceb, diceb }; |
1359 |
|
|