Bitmap/Write a PPM file: Difference between revisions

m
(→‎Ada: Fixed tipo an better reference)
Tags: Mobile edit Mobile web edit
 
Line 9:
{{trans|Python}}
 
<syntaxhighlight lang="11l">T Colour = BVec3
Byte r, g, b
 
F (r, g, b)
.r = r
.g = g
.b = b
 
F ==(other)
R .r == other.r & .g == other.g & .b == other.b
 
V black = Colour(0, 0, 0)
1,481

edits