mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
product:: fixed 3dmodel arms
This commit is contained in:
parent
712f740657
commit
4b7e565355
@ -202,7 +202,7 @@ void geometry_information::make_ha_3d(hpcshape& sh, bool isarmor, ld scale) {
|
|||||||
int arm1 = isize(hpc);
|
int arm1 = isize(hpc);
|
||||||
for(int i=arm0; i<arm1; i++) {
|
for(int i=arm0; i<arm1; i++) {
|
||||||
hyperpoint h = hpc[i];
|
hyperpoint h = hpc[i];
|
||||||
ld zl = asinh(h[2]);
|
ld zl = prod ? zlevel(h) : asin_auto(h[2]);
|
||||||
h = zpush(-zl) * h;
|
h = zpush(-zl) * h;
|
||||||
ld rad = hdist0(h);
|
ld rad = hdist0(h);
|
||||||
rad = (rad - 0.1124*S) / (0.2804*S - 0.1124*S);
|
rad = (rad - 0.1124*S) / (0.2804*S - 0.1124*S);
|
||||||
|
Loading…
Reference in New Issue
Block a user