fixed the donut view

This commit is contained in:
Zeno Rogue 2021-02-06 02:02:55 +01:00
parent 51daac745f
commit 3d306c6aa5
1 changed files with 3 additions and 2 deletions

View File

@ -445,9 +445,8 @@ EX void buildTorusRug() {
r->y1 = onscreen[1];
if(1) {
hyperpoint hp = ct.torus_to_s4(h);
USING_NATIVE_GEOMETRY;
hyperpoint hp = ct.torus_to_s4(h);
/* spherical coordinates are already good, otherwise... */
@ -464,6 +463,8 @@ EX void buildTorusRug() {
if(hyperbolic)
hp = perspective_to_space(hp, 1, gcHyperbolic);
r->native = hp;
}
r->valid = true;