1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-05 00:03:01 +00:00

rogueviz::ads:: do not show numerically unstable convergent/divergent stars in dsgame

This commit is contained in:
Zeno Rogue
2025-04-08 00:33:23 +02:00
parent 8a92ea95f3
commit f47837df99
2 changed files with 8 additions and 4 deletions

View File

@@ -198,10 +198,12 @@ struct ads_object {
ld life_start, life_end;
cross_result pt_main;
vector<cross_result> pts;
int subtype;
ads_object(eObjType t, cell *_owner, const ads_matrix& T, color_t _col) : type(t), owner(_owner), at(T), col(_col) {
life_start = -HUGE_VAL;
life_end = HUGE_VAL;
subtype = 0;
}
};