fixed some bugs with anisotropic mdDisk
This commit is contained in:
parent
aebcabb99c
commit
ac336f7035
|
@ -699,7 +699,7 @@ EX void apply_other_model(shiftpoint H_orig, hyperpoint& ret, eModel md) {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
w = hypot_d(3, ret);
|
w = hypot_d(3, ret);
|
||||||
w = sinh(w) / ((pconf.alpha + cosh(w)) * w);
|
if(w) w = sinh(w) / ((pconf.alpha + cosh(w)) * w);
|
||||||
}
|
}
|
||||||
for(int i=0; i<3; i++) ret[i] *= w;
|
for(int i=0; i<3; i++) ret[i] *= w;
|
||||||
ret[3] = 1;
|
ret[3] = 1;
|
||||||
|
@ -2729,6 +2729,11 @@ void queuestraight(hyperpoint X, int style, color_t lc, color_t fc, PPR p) {
|
||||||
|
|
||||||
EX void draw_boundary(int w) {
|
EX void draw_boundary(int w) {
|
||||||
|
|
||||||
|
if((nonisotropic || gproduct) && pmodel == mdDisk) {
|
||||||
|
queuecircle(current_display->xcenter, current_display->ycenter, current_display->radius, ringcolor, PPR::OUTCIRCLE, modelcolor);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if(w == 1) return;
|
if(w == 1) return;
|
||||||
if(nonisotropic || (euclid && !among(pmodel, mdFisheye, mdConformalSquare)) || gproduct) return;
|
if(nonisotropic || (euclid && !among(pmodel, mdFisheye, mdConformalSquare)) || gproduct) return;
|
||||||
#if CAP_VR
|
#if CAP_VR
|
||||||
|
|
Loading…
Reference in New Issue