Skip to content

Commit

Permalink
start of generated AS header
Browse files Browse the repository at this point in the history
  • Loading branch information
konsumer committed Oct 12, 2024
1 parent 2dc2e6e commit c396b15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/colors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion cart/as/null0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c396b15

Please sign in to comment.