mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-28 01:44:54 +00:00
product:: made cpush0 work correctly
This commit is contained in:
parent
f0d9ae226f
commit
6e599112c2
@ -991,6 +991,10 @@ EX transmatrix transpose(transmatrix T) {
|
||||
#if HDR
|
||||
inline hyperpoint cpush0(int c, ld x) {
|
||||
hyperpoint h = Hypc;
|
||||
if(c == 2 && prod) {
|
||||
h[2] = exp(x);
|
||||
return h;
|
||||
}
|
||||
h[LDIM] = cos_auto(x);
|
||||
h[c] = sin_auto(x);
|
||||
return h;
|
||||
|
Loading…
Reference in New Issue
Block a user