Anonymous user
Draw a sphere: Difference between revisions
→{{header|Perl 6}}: fix broken binary output
m (→{{libheader|VPython}}: # uncomment any (or all)) |
(→{{header|Perl 6}}: fix broken binary output) |
||
Line 1,568:
=={{header|Perl 6}}==
{{trans|C}}
Line 1,584 ⟶ 1,583:
my $out = open( $outfile, :w, :bin ) or die "$!\n";
$out.say("P5\n$x $y\n$depth"); # .pgm header
$out.
$out.close;
}
|