renamed towards_ideal to towards_inf
This commit is contained in:
parent
cb654ca990
commit
24eccca370
|
@ -911,10 +911,10 @@ EX hyperpoint get_midedge(ld len, const hyperpoint &l, const hyperpoint &r) {
|
||||||
return normalize(kleinize(l) + kleinize(r));
|
return normalize(kleinize(l) + kleinize(r));
|
||||||
}
|
}
|
||||||
else if(len == INFINITE_RIGHT) {
|
else if(len == INFINITE_RIGHT) {
|
||||||
return towards_ideal(r, l);
|
return towards_inf(r, l);
|
||||||
}
|
}
|
||||||
else if(len == INFINITE_LEFT) {
|
else if(len == INFINITE_LEFT) {
|
||||||
return towards_ideal(l, r);
|
return towards_inf(l, r);
|
||||||
}
|
}
|
||||||
else return mid(l, r);
|
else return mid(l, r);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1684,10 +1684,10 @@ EX hyperpoint circumscribe(hyperpoint a, hyperpoint b, hyperpoint c, hyperpoint
|
||||||
return h;
|
return h;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** the point in distance dist from 'material' to 'ideal' */
|
/** the point in distance dist from 'material' to 'dir' (usually an (ultra)ideal point) */
|
||||||
EX hyperpoint towards_ideal(hyperpoint material, hyperpoint ideal, ld dist IS(1)) {
|
EX hyperpoint towards_inf(hyperpoint material, hyperpoint dir, ld dist IS(1)) {
|
||||||
transmatrix T = gpushxto0(material);
|
transmatrix T = gpushxto0(material);
|
||||||
hyperpoint id = T * ideal;
|
hyperpoint id = T * dir;
|
||||||
return rgpushxto0(material) * rspintox(id) * xpush0(1);
|
return rgpushxto0(material) * rspintox(id) * xpush0(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue