mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-01 02:07:57 +00:00
solnihv:: set result[3] to zero, as otherwise it may become infinite
This commit is contained in:
@@ -110,6 +110,8 @@ EX namespace solnihv {
|
||||
|
||||
for(int t=0; t<3; t++)
|
||||
res[t] = S2(ax) * (bx-ix) + S2(bx) * (ix-ax);
|
||||
|
||||
res[3] = 0;
|
||||
}
|
||||
|
||||
return res;
|
||||
|
Reference in New Issue
Block a user