mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
product:: fixed straightDownSeek
This commit is contained in:
parent
38ee044e70
commit
e8cdb9e616
@ -1261,8 +1261,10 @@ EX void spinEdge(ld aspd) {
|
||||
else if((WDIM == 2 || prod) && GDIM == 3 && vid.fixed_yz && !CAP_ORIENTATION) {
|
||||
aspd = 999999;
|
||||
if(straightDownSeek) {
|
||||
if(straightDownPoint[0])
|
||||
downspin = models::rotation * degree - atan2(straightDownPoint[0], straightDownPoint[1]);
|
||||
auto sdp = straightDownPoint;
|
||||
if(prod) sdp = LPV * product::inverse_exp(sdp);
|
||||
if(sdp[0])
|
||||
downspin = models::rotation * degree - atan2(sdp[0], sdp[1]);
|
||||
}
|
||||
else {
|
||||
if(LPV[0][2])
|
||||
|
Loading…
Reference in New Issue
Block a user