mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-24 13:27:17 +00:00
fixed high parts disappearing in pmodels of sphere
This commit is contained in:
parent
a3a70dfe4a
commit
3e9ef122aa
@ -187,7 +187,7 @@ void addpoint(const hyperpoint& H) {
|
|||||||
if(true) {
|
if(true) {
|
||||||
hyperpoint Hscr;
|
hyperpoint Hscr;
|
||||||
applymodel(H, Hscr);
|
applymodel(H, Hscr);
|
||||||
if(vid.alphax + H[2] <= BEHIND_LIMIT) poly_flags |= POLY_BEHIND;
|
if(vid.alphax + H[2] <= BEHIND_LIMIT && pmodel == mdDisk) poly_flags |= POLY_BEHIND;
|
||||||
|
|
||||||
if(spherespecial) {
|
if(spherespecial) {
|
||||||
double curnorm = H[0]*H[0]+H[1]*H[1]+H[2]*H[2];
|
double curnorm = H[0]*H[0]+H[1]*H[1]+H[2]*H[2];
|
||||||
|
Loading…
Reference in New Issue
Block a user