diff options
| author | bgthompson <benjamin.btstudios@pm.me> | 2024-11-07 13:42:53 +1000 |
|---|---|---|
| committer | bgthompson <benjamin.btstudios@pm.me> | 2024-11-07 13:42:53 +1000 |
| commit | 46e8fc0b614bd3187ab6b2c6b4cc83996fb8bf56 (patch) | |
| tree | aa77534d3c5ad3d2f5c607db120ee38393420784 | |
| parent | 8cce587d3ba60d8073a38a87a71caa5bfaa859c6 (diff) | |
line ending format patch attempt
| -rw-r--r-- | patches/patches/109_vectors.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/patches/109_vectors.patch b/patches/patches/109_vectors.patch index ec2189e..4b11da9 100644 --- a/patches/patches/109_vectors.patch +++ b/patches/patches/109_vectors.patch @@ -6,7 +6,7 @@ fn calcMaxPairwiseDiffNew( a : Vec4, b : Vec4) f32 { - const abs_diff_vec = ???; - const max_diff = @reduce(???, abs_diff_vec); -+ const abs_diff_vec = @abs(a - b); ++ const abs_diff_vec = @abs( a - b ); + const max_diff = @reduce(.Max, abs_diff_vec); return max_diff; } |
