fixed some bugs with sphere embedded in product

This commit is contained in:
Zeno Rogue committed 2022-12-09 02:33:15 +01:00
1 parent 689f64ed98
commit d334062656
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -769,7 +769,7 @@ EX shiftmatrix face_the_player(const shiftmatrix V) {
return shiftless(cspin90(1, 2) * lrspintox(cspin90(2, 1) * uh) * xpush(hdist0(uh)) * cspin90(0, 2) * spin270());
}
#endif
if(embedded_plane && msphere) return shiftless(map_relative_push(unshift(V * zpush0(1))) * zpush(-1));
if(embedded_plane && msphere && !sphere && !gproduct) return shiftless(map_relative_push(unshift(V * zpush0(1))) * zpush(-1));
return rgpushxto0(tC0(V));
}