diff --git a/api/colors.yml b/api/colors.yml index e187ba7..c6bb649 100755 --- a/api/colors.yml +++ b/api/colors.yml @@ -37,7 +37,7 @@ color_contrast: color: Color contrast: f32 returns: Color - description: color_contrast + description: Change contrast of a color color_bilinear_interpolate: args: diff --git a/cart/as/null0.ts b/cart/as/null0.ts index d4c76c8..7bde9a8 100644 --- a/cart/as/null0.ts +++ b/cart/as/null0.ts @@ -884,7 +884,7 @@ function color_alpha_blend(dst: Color, src: Color): Color { return r } -// color_contrast +// Change contrast of a color @external("null0", "color_contrast") declare function _null0_color_contrast(ret:usize, color: Color, contrast: f32): void function color_contrast(color: Color, contrast: f32):Color {