paint: select tool

This commit is contained in:
luboslenco
2026-06-05 00:41:18 +02:00
parent 0cf5ec0635
commit 421411a9f3
7 changed files with 90 additions and 5 deletions
+3
View File
@@ -279,6 +279,9 @@ vec4_t uniforms_ext_vec4_link(object_t *object, material_data_t *mat, char *link
}
return v;
}
else if (string_equals(link, "_select_mask")) {
return (vec4_t){g_context->select_x1, g_context->select_y1, g_context->select_x2, g_context->select_y2};
}
return vec4_nan();
}