| 439 | |
| 440 | |
| 441 | void GetConiferTreeImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_Noise, int a_Seq, sSetBlockVector & a_LogBlocks, sSetBlockVector & a_OtherBlocks) |
| 442 | { |
| 443 | // Half chance for a spruce, half for a pine: |
| 444 | if (a_Noise.IntNoise3DInt(a_BlockX + 64 * a_Seq, a_BlockY, a_BlockZ + 32 * a_Seq) < 0x40000000) |
| 445 | { |
| 446 | GetSpruceTreeImage(a_BlockX, a_BlockY, a_BlockZ, a_Noise, a_Seq, a_LogBlocks, a_OtherBlocks); |
| 447 | } |
| 448 | else |
| 449 | { |
| 450 | GetPineTreeImage(a_BlockX, a_BlockY, a_BlockZ, a_Noise, a_Seq, a_LogBlocks, a_OtherBlocks); |
| 451 | } |
| 452 | } |
| 453 | |
| 454 | |
| 455 |
no test coverage detected