Created
January 23, 2022 11:44
-
-
Save harpwood/2520e27fe82e7ffff9346a28fc85e8cd to your computer and use it in GitHub Desktop.
@description Draws a rectangle around the mask_index
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// @func draw_boundbox(color) | |
/// @param color | |
/// @description Draws a rectangle around the mask_index | |
function draw_boundbox(color, outline) { | |
draw_set_color(color); | |
draw_rectangle(bbox_left, bbox_top, bbox_right, bbox_bottom, outline); | |
draw_set_color(c_white); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment