centerpc:: removed a special case for Euclidean -- no longer a special case

This commit is contained in:
Zeno Rogue 2019-11-23 19:00:18 +01:00
parent 021f99aafa
commit 4f0cf57092
1 changed files with 2 additions and 11 deletions

View File

@ -1400,22 +1400,13 @@ EX void centerpc(ld aspd) {
} */
spinEdge(aspd);
fixmatrix(View);
current_display->which_copy = gmatrix[cwt.at];
ors::rerotate(cwtV); ors::rerotate(View);
return;
}
if(euclid) {
// Euclidean
aspd *= (2+3*R*R);
if(aspd > R) aspd = R;
for(int i=0; i<GDIM; i++)
View[i][LDIM] -= H[i] * aspd / R;
}
else {
aspd *= (1+R+(shmup::on?1:0));
aspd *= euclid ? (2+3*R*R) : (1+R+(shmup::on?1:0));
if(R < aspd)
shift_view_to(H);