mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[poincare/zoom] Detect explosions
Add a clause in InterestingRangesForDisplay to detect strong variations. This improve the graph for x^x or x^2+x+1 for instance. Change-Id: I74214c2382cfe4b0e2603556dd8c6cbd450effc0
This commit is contained in:
committed by
Émilie Feral
parent
8ce9f363ad
commit
1bfeeb5842
@@ -38,6 +38,7 @@ private:
|
||||
static constexpr float k_maximalDistance = 1e5f;
|
||||
static constexpr float k_minimalDistance = 1e-2f;
|
||||
static constexpr float k_asymptoteThreshold = 2e-1f;
|
||||
static constexpr float k_explosionThreshold = 1e1f;
|
||||
static constexpr float k_stepFactor = 1.1f;
|
||||
static constexpr float k_breathingRoom = 0.3f;
|
||||
static constexpr float k_forceXAxisThreshold = 0.2f;
|
||||
|
||||
Reference in New Issue
Block a user