1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-06-29 07:18:49 +00:00

fixed a crash in RogueViz

This commit is contained in:
Zeno Rogue
2019-09-23 01:05:36 +02:00
parent 5c1568d288
commit c3975e80ef
+1 -1
View File
@@ -6,7 +6,7 @@ bool graph_on;
color_t graphcolor;
hyperpoint err = hpxyz(500,0,0);
hyperpoint err = point3(500,0,0);
bool iserror(hyperpoint h) { return sqhypot_d(2, h) > 10000 || std::isnan(h[0]) || std::isnan(h[1]) || std::isnan(h[2]) || std::isinf(h[0]) || std::isinf(h[1]) || std::isinf(h[2]); }