CANVAS_MERGE
Draws source, a canvas or an ARRAY of canvases, into target, moved by offset. With mode "OVERWRITE", set voxels of the source replace those of the target; with "KEEP", they only fill voxels that are not set. Voxels that are not set in the source never change the target; air does.
Parameters and results
targetTYPE c0de_paint/cpaint/CANVAS: the canvas that changes (a variable)sourceTYPE c0de_paint/cpaint/CANVAS or ARRAY TYPE c0de_paint/cpaint/CANVAS: what is drawnmodeSTRING: "OVERWRITE" or "KEEP" (optional, default "OVERWRITE")offsetSTRUCT c0de_paint/cpaint/POINT: the shift (optional, default 0,0,0)
Example
c0de
CALL c0de_paint/cpaint/CANVAS_MERGE
PARAMETER target castle ;
PARAMETER source tower ;
PARAMETER offset corner ;