fixed unused capture warnings

This commit is contained in:
Zeno Rogue committed 2021-06-03 15:11:24 +02:00
1 parent fde3977218
commit 982377c26c
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -1275,7 +1275,7 @@ EX namespace dice {
base_to_base = -h[2];
else {
ld lim = sphere ? 1 : 5;
base_to_base = binsearch(-lim, lim, [h, osphere] (ld d) {
base_to_base = binsearch(-lim, lim, [h] (ld d) {
return (zpush(d) * h)[2] >= sin_auto(vid.depth);
});
}