mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-22 08:10:40 +00:00
fixed a crash in RogueViz
This commit is contained in:
parent
5c1568d288
commit
c3975e80ef
@ -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]); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user