mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 00:07:10 +00:00
added descriptive messages to hr_exception when missing
This commit is contained in:
1 parent
2b9a068ddc
commit
2836a4c27b
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -1321,7 +1321,7 @@ EX void apply_other_model(shiftpoint H_orig, hyperpoint& ret, eModel md) {
|
||||
#if MAXMDIM >= 4
|
||||
threepoint_projection(H, ret);
|
||||
#else
|
||||
throw hr_exception();
|
||||
throw hr_exception("three-point projection but MAXMDIM<4");
|
||||
#endif
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user