|
|
|
setPixel coordinate(s) color(s)
sets the pixels at the coordinate(s) to the relating color(s). setPixel can now also take 3D coordiantes as arguments. It is also possible to use a FloatArray of length 3 for the coordinates.
Examples:
setPixel [10 10] 0 setPixel [[10 10][20 10]] 0 setPixel [[10 10][20 10]] [12 14] perspective setPixel {[10 10 10][20 10 0]} {12 14} setPixel FloatArray {100 2 0} 0 |
|
|
|