Skip to content

Commit 7d4ce5b

Browse files
author
Aleksander Katan
committed
Update tests
1 parent f715c32 commit 7d4ce5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/typegpu/tests/examples/individual/camera-thresholding.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe('camera thresholding example', () => {
5757
var crDiff = abs((ycbcr.y - colycbcr.y));
5858
var cbDiff = abs((ycbcr.z - colycbcr.z));
5959
var distance = length(vec2f(crDiff, cbDiff));
60-
if ((distance < pow(thresholdBuffer_9, 2))) {
60+
if ((distance < pow(thresholdBuffer_9, 2f))) {
6161
col = vec4f();
6262
}
6363
return col;

0 commit comments

Comments
 (0)