fixed rotational models on sphere
This commit is contained in:
parent
0febf06462
commit
9b3324b7eb
|
@ -492,6 +492,12 @@ void geometry_information::make_skeletal(hpcshape& sh, ld push) {
|
||||||
|
|
||||||
hyperpoint yzspin(ld alpha, hyperpoint h) {
|
hyperpoint yzspin(ld alpha, hyperpoint h) {
|
||||||
if(gproduct) return product::direct_exp(cspin(1, 2, alpha) * product::inverse_exp(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;
|
else return cspin(1, 2, alpha) * h;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue