diff options
author | Matt Strapp <matt@mattstrapp.net> | 2021-09-13 18:07:08 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2021-09-13 18:07:08 -0500 |
commit | 15eb219a10ae7d27413a853f281b743ccfb06c47 (patch) | |
tree | 67d926ffa8512ee69048ad45a31cece1c7c05665 /worksheets/a1_textrain.md | |
parent | Do WS1 (diff) | |
download | csci4611-submission-w1.1.tar csci4611-submission-w1.1.tar.gz csci4611-submission-w1.1.tar.bz2 csci4611-submission-w1.1.tar.lz csci4611-submission-w1.1.tar.xz csci4611-submission-w1.1.tar.zst csci4611-submission-w1.1.zip |
Fix parenthesissubmission-w1.1
Diffstat (limited to 'worksheets/a1_textrain.md')
-rw-r--r-- | worksheets/a1_textrain.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worksheets/a1_textrain.md b/worksheets/a1_textrain.md index 7849594..2f9c64f 100644 --- a/worksheets/a1_textrain.md +++ b/worksheets/a1_textrain.md @@ -73,7 +73,7 @@ final int threshold = 128; // Returns: thresholded color (black or white) color thresholdPixel(color inputPixel) { - if blue(inputPixel) < threshold { + if (blue(inputPixel) < threshold) { return color(0); } else { return color(255); |