mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-16 10:14:48 +00:00
hypcity:: fixed normalization
This commit is contained in:
parent
75961e6543
commit
c4b059192f
@ -56,7 +56,7 @@ void prepare_tf() {
|
|||||||
hx[2] = 0;
|
hx[2] = 0;
|
||||||
hx[3] = 1;
|
hx[3] = 1;
|
||||||
if(hyperbolic) hx = spin(45 * degree) * hx;
|
if(hyperbolic) hx = spin(45 * degree) * hx;
|
||||||
normalize(hx);
|
hx = normalize(hx);
|
||||||
hx = zshift(hx, h[2]*(t*(sphere ? 3 : 7)));
|
hx = zshift(hx, h[2]*(t*(sphere ? 3 : 7)));
|
||||||
|
|
||||||
return {0, hx};
|
return {0, hx};
|
||||||
|
Loading…
Reference in New Issue
Block a user