Bitmap/Bézier curves/Cubic: Difference between revisions

Content added Content deleted
imported>Chinhouse
No edit summary
 
Line 7: Line 7:
{{trans|Python}}
{{trans|Python}}


<syntaxhighlight lang="11l">T Colour
<syntaxhighlight lang="11l">T Colour = BVec3
Byte r, g, b

F ==(other)
R .r == other.r & .g == other.g & .b == other.b

F (r, g, b)
.r = r
.g = g
.b = b


V black = Colour(0, 0, 0)
V black = Colour(0, 0, 0)
Line 120: Line 111:
+-----------------+
+-----------------+
</pre>
</pre>

=={{header|Action!}}==
=={{header|Action!}}==
{{libheader|Action! Bitmap tools}}
{{libheader|Action! Bitmap tools}}