... | ... | @@ -9,7 +9,7 @@ canvas = ShaderLib2D() |
|
|
# add a rectangle of W * H at X, Y, with a solid rgb (3-tuple) of
|
|
|
canvas.add_rect(x, y, w, h, rgb_color)
|
|
|
|
|
|
# for more specialized drawing requirements can generate your own verts, colors and face indices
|
|
|
# for more specialized drawing requirements you can generate your own verts, colors and face indices
|
|
|
# and add them to the total geom this way
|
|
|
canvas.add_data(verts, colors, indices)
|
|
|
|
... | ... | |