mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-26 02:34:26 +00:00
Archimedean precise analyzer
This commit is contained in:
1 parent
142566a5bd
commit
f6f37b1e45
3 files changed
+39
-7
No files matched your search
+2
-6
@@ -576,12 +576,8 @@ void geometry_information::prepare_basics() {
|
||||
steps = 0;
|
||||
single_step = 1;
|
||||
if(hybri && !prod) {
|
||||
if(hybrid::underlying == gArchimedean) {
|
||||
ld s = arcm::current.euclidean_angle_sum - 2;
|
||||
single_step = 2;
|
||||
DEBB(DF_GEOM | DF_POLY, ("1/s = ", 1/s));
|
||||
steps = 4/abs(s) + .5;
|
||||
}
|
||||
if(hybrid::underlying == gArchimedean)
|
||||
arcm::current.get_step_values(steps, single_step);
|
||||
else {
|
||||
single_step = S3 * S7 - 2 * S7 - 2 * S3;
|
||||
steps = 2 * S7;
|
||||
|
||||
Reference in new issue
Block a user