Archimedean precise analyzer

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:50:15 +02:00
1 parent 142566a5bd
commit f6f37b1e45
3 files changed
+39 -7

No files matched your search

+2 -6
View File
@@ -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;