mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-30 15:39:54 +00:00
3d:: removed some unused debug messages
This commit is contained in:
parent
d9c6ae14ae
commit
cb2e870a99
@ -1809,7 +1809,7 @@ void finishshape() {
|
|||||||
if(asign(y1, y2)) {
|
if(asign(y1, y2)) {
|
||||||
ld x = xcross(x1, y1, x2, y2);
|
ld x = xcross(x1, y1, x2, y2);
|
||||||
if(abs(x) < 1e-3 && !(last->flags & POLY_ISSIDE)) {
|
if(abs(x) < 1e-3 && !(last->flags & POLY_ISSIDE)) {
|
||||||
if(s >= 2) printf("close call [%d], x = %lf\n", s, x);
|
if(s >= 2 && DIM == 2) printf("close call [%d], x = %lf\n", s, x);
|
||||||
last->flags |= POLY_BADCENTERIN;
|
last->flags |= POLY_BADCENTERIN;
|
||||||
}
|
}
|
||||||
if(x < 0) last->flags ^= POLY_CENTERIN;
|
if(x < 0) last->flags ^= POLY_CENTERIN;
|
||||||
@ -2406,7 +2406,6 @@ void make_wall(int id, vector<hyperpoint> vertices, bool force_triangles = false
|
|||||||
hyperpoint center = Hypc;
|
hyperpoint center = Hypc;
|
||||||
for(auto v: vertices) center += v;
|
for(auto v: vertices) center += v;
|
||||||
center /= n;
|
center /= n;
|
||||||
println(hlog, "vertices = ", vertices, " center = ", center);
|
|
||||||
|
|
||||||
for(int a=0; a<n; a++)
|
for(int a=0; a<n; a++)
|
||||||
for(int y=0; y<STEP; y++)
|
for(int y=0; y<STEP; y++)
|
||||||
|
Loading…
Reference in New Issue
Block a user