fixed rotational models on sphere

This commit is contained in:
Zeno Rogue 2022-12-09 02:19:56 +01:00
parent 0febf06462
commit 9b3324b7eb
1 changed files with 6 additions and 0 deletions

View File

@ -492,6 +492,12 @@ void geometry_information::make_skeletal(hpcshape& sh, ld push) {
hyperpoint yzspin(ld alpha, hyperpoint h) {
if(gproduct) return product::direct_exp(cspin(1, 2, alpha) * product::inverse_exp(h));
else if(embedded_plane && msphere && !sphere) {
h = gpushxto0(tile_center()) * h;
h = cspin(1, 2, alpha) * h;
h = rgpushxto0(tile_center()) * h;
return h;
}
else return cspin(1, 2, alpha) * h;
}