Jump to content

Bitmap/Midpoint circle algorithm: Difference between revisions

m
m (→‎{{header|Wren}}: Changed to Wren S/H)
 
Line 11:
{{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)
Line 118 ⟶ 109:
+-------------------------+
</pre>
 
=={{header|Action!}}==
Part of the task is available in [http://www.rosettacode.org/wiki/Category:Action!_Bitmap_tools#RGBCIRCL.ACT RGBCIRCL.ACT].
1,481

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.