Death Star: Difference between revisions
m
→{{header|Zig}}: enforce const
m (→{{header|Wren}}: Changed to Wren S/H) |
Recombinant (talk | contribs) m (→{{header|Zig}}: enforce const) |
||
Line 3,164:
const x = xx - self.cx;
const y = yy - self.cy;
if (zsq >= 0) {
return .{ .z1 = self.cz - zsqrt, .z2 = self.cz + zsqrt };
}
Line 3,194:
const amb: T = 0.2;
var img = try ImageData().init(allocator, "deathStar", w, h);
|