Anonymous user
Draw a sphere: Difference between revisions
Updated D entry
(Updated D entry) |
(Updated D entry) |
||
Line 633:
}
void drawSphere(in double R, in double k, in double ambient)
enum shades = ".:!*oe&#%@";
foreach (immutable i; cast(int)floor(-R) .. cast(int)ceil(R) + 1) {
|