1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-09-19 10:19:36 +00:00

fixed the lines in hyperboloid model

This commit is contained in:
Zeno Rogue 2024-06-27 22:32:32 +02:00
parent 3a255db948
commit 106d9a08dd

View File

@ -2689,7 +2689,7 @@ EX void draw_model_elements() {
ld cb = pconf.ball() [1][1];
ld sb = pconf.ball() [1][2];
a[1] = sb * a[2] / -cb;
a[1] = sb * a[2] / cb;
a[0] = sqrt(-1 + a[2] * a[2] - a[1] * a[1]);
curvepoint(point3(0,0,-pconf.alpha));
@ -2704,7 +2704,7 @@ EX void draw_model_elements() {
curvepoint(point3(1,0,0));
queuecurve(shiftless(Id), ringcolor, 0, PPR::CIRCLE);
a[1] = sb * tz / -cb;
a[1] = sb * tz / cb;
a[0] = sqrt(tz * tz - a[1] * a[1]);
a[2] = tz - pconf.alpha;